Component sandbox for Server Components #51229
Unanswered
ovidiuch
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! 👋
I created an integration between React Cosmos, the OG React component sandbox, and Next.js App Router! ⚡️
For those of you who are not familiar with React Cosmos, it's an neat tool that allows you build React components in an isolated environment (similar to Storybook).
Get started using this guide: https://github.com/react-cosmos/react-cosmos/blob/main/docs/getting-started/next.md
It's pretty amazing to see Server Components render inside an isolated environment. If you've already hopped on the RSC bandwagon you should definitely try it out.
As you'll see in the guide, Static Exports are also supported, but they're not as streamlined as they could be.
I'd love to get your feedback & suggestions for improving this integration and bringing Next.js and React Cosmos even closer! 🤝
Beta Was this translation helpful? Give feedback.
All reactions