TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: React Preview CLI – An alternative to Storybook with near zero config

20 点作者 fwouts超过 3 年前

1 comment

fwouts超过 3 年前
Hi everyone, author here.<p>This was originally an extension for Visual Studio Code to preview React components directly in your IDE (that&#x27;s still available too, as well as for IntelliJ now).<p>I&#x27;ve since gotten feedback that it&#x27;s a useful alternative to Storybook, which people often find frustratingly slow, so I decided to build a CLI version as well.<p>React Preview is not yet open source (I&#x27;ll probably end up switching to an open core model at some point) but it&#x27;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&#x27;t need to configure custom stories like you would with Storybook (although that&#x27;s supported too).<p>You can also check out the detailed docs at <a href="https:&#x2F;&#x2F;reactpreview.com" rel="nofollow">https:&#x2F;&#x2F;reactpreview.com</a><p>Please let me know what you think, any feedback is a gift!
评论 #28759725 未加载