Open
Description
Discussed in #8758
Originally posted by gaearon March 10, 2023
![CleanShot 2023-06-21 at 19 58 36@2x](https://private-user-images.githubusercontent.com/749374/247646859-786b6b3f-125b-4123-809a-a344edd32c15.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTQ1NDcsIm5iZiI6MTczOTU5NDI0NywicGF0aCI6Ii83NDkzNzQvMjQ3NjQ2ODU5LTc4NmI2YjNmLTEyNWItNDEyMy04MDlhLWEzNDRlZGQzMmMxNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwNDM3MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZTk4MTkwYzdlZWRlMzRlZDE3NmIyMTE5MTE3YmMwM2RkOTk4YzEyYzI0YTY2YTRhNDg2MmNhYmI0OGNkMTcxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.q8Ziy2WqAVFnPw_kj2Varlb_8ZdO-vPCTr63kRb71UI)
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 as RSC.
- Support for treating MDX as RSC by default.
- Porting the core of the site to RSC.
This isn't super scientific but gives some anecdotal evidence that it's worth at least experimenting with:
![Screenshot 2023-03-10 at 18 01 08](https://user-images.githubusercontent.com/810438/224390075-d1a6ec73-52fa-4b6b-8705-703926cf857a.png)
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).