[QA] React Server Components #25694
Replies: 2 comments
-
Project: https://github.com/vercel/next-react-server-components Server Component with broken Docs page Client Comment Component with a working Docs page and stories Server Footer Component but not async with a working Docs page |
Beta Was this translation helpful? Give feedback.
-
For anyone who finds this Discussion. The docs issue is a limitation of React. The workaround is here #25594 (comment) Comment on #25594 React: RSCs don't render correctly in Docs This is a limitation of React, which cannot render multiple async component roots on the client. Repro: https://github.com/shilman/vite-rsc-test To work around this, you can disable inline docs rendering:
I tested it out on my RSC components, and the workaround is successful. Here is a screenshot with docs issues and console errors. Here is an after screenshot, with the docs rendering as expected. |
Beta Was this translation helpful? Give feedback.
-
React Server Components
Feature owner: @shilman
Please comment in this discussion thread for any bug report and feedback for this feature as you test out Storybook 8. Kindly adhere to the following format:
Feature owner should triage the comments here frequently and open issues as needed.
Beta Was this translation helpful? Give feedback.
All reactions