facebook / facebook/docusaurus
Support React Server Components
- Lingua principale
- TypeScript
- Stelle
- 66.2k
- Fork
- 10k
- Merge medio
- 1g 3h
- PR unite (30g)
- 52
Descrizione
### Discussed in https://github.com/facebook/docusaurus/discussions/8758
Originally posted by **gaearon** March 10, 2023
---
I'd like to start a discussion on what it would take to get full RSC support in Docusaurus.
I imagine there could be different "layers" where support could be added, probably independent from each other:
- Support for writing [Pages](https://docusaurus.io/docs/creating-pages) as RSC.
- Support for treating [MDX](https://docusaurus.io/docs/markdown-features/react) as RSC by default.
- Porting the core of the site to RSC.
[This](https://www.mux.com/blog/the-building-blocks-of-great-docs) isn't super scientific but gives some anecdotal evidence that it's worth at least experimenting with:

It also seems like a more scoped project than adopting RSC in a framework because Docusaurus is already constrained (always static output, no complex layouts).
Would love to hear your thoughts (and also happy to answer any integration questions).
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.