top | item 26316557

(no title)

skidding | 5 years ago

> it seems like this creates a webpage that you can use to speed up iteration on your components?

Pretty accurate. Cosmos is an isolated component environment. You can load components separately for regular development, as well as for automated visual regression testing.

> What else does this do? What problem does it solve? How does it solve that? Saying it solves "Reusable components" is pretty generic, could use some expansion on how it actually helps in this regard.

I get that it's confusing, but the landing page literally addresses this:

- "Develop one component at a time. Isolate the UI you're working on and iterate quickly. Reloading your whole app on every change is slowing you down!"

- "Bookmark component states, from blank states to edge cases. Your component library keeps you organized and provides a solid foundation of test cases."

Scroll down and it goes into more detail in 6 concise paragraphs.

> The live demo doesn't really work on mobile

That's true. But you can't really develop React apps on mobile either. React Cosmos is desktop dev tool that you run locally as part of your codebase.

Right next to the demo, however, there's a link to a 21-tweet thread with specific functionality, code examples and visuals included: https://twitter.com/ReactCosmos/status/1189127279533793281

discuss

order

ativzzz|5 years ago

> Right next to the demo, however, there's a link to a 21-tweet thread with specific functionality, code examples and visuals included: https://twitter.com/ReactCosmos/status/1189127279533793281

I will 100% be trying out cosmos the next time I need to develop a React component, but Twitter is an awful way of sharing large amounts of info and if I have to leave your website to go to twitter to find out what your product is and how to use it, something isn't right.

Either way, I understand it's OSS and your time is valuable, so thanks for this!