News for hackers. Stuff that matters.
Re:React Cosmos – Build UIs at Scale by sbarre on Tuesday March 02, 2021 @08:19AM (#26314974)
Do you have any examples you can share where you've customized Storybook in this manner?

If I understand correctly, as opposed to loading your components in isolation in Storybook, you're providing them with a context similar to the actual app they're going to exist in?

Re:React Cosmos – Build UIs at Scale by artboomy on Tuesday March 02, 2021 @08:51AM (#26315279)
Not OP, but i suppose you can use custom decorator to wrap components and globalTypes for some customization, like theme selector

https://storybook.js.org/docs/react/essentials/toolbars-and-...