Show HN: React Preview CLI – An alternative to Storybook with near zero config
npmjs.comHi everyone, author here.
This was originally an extension for Visual Studio Code to preview React components directly in your IDE (that's still available too, as well as for IntelliJ now).
I've since gotten feedback that it's a useful alternative to Storybook, which people often find frustratingly slow, so I decided to build a CLI version as well.
React Preview is not yet open source (I'll probably end up switching to an open core model at some point) but it's based on ViteJS (which is significantly faster than webpack). It also uses the TypeScript Compiler API to resolve types and automatically generate valid props, so you don't need to configure custom stories like you would with Storybook (although that's supported too).
You can also check out the detailed docs at https://reactpreview.com
Please let me know what you think, any feedback is a gift!
I'm not even a FrontEnd Dev and I'm delighted, right after I found out about StoryBook (last week)!
I shared it with my Dev team, hoping they'll adopt it and propel our velocity ;)
Thank you, appreciate it! :)