Join live session: Thu, 11am EDT, Storybook 9 release & AMA

Storybook for React and Rsbuild: Develop React components in isolation with Hot Reloading.

View on Github

Storybook Rsbuild

Storybook × Rsbuild

The repository contains the Storybook Rsbuild builder and UI framework integrations.

[!NOTE] For users of Storybook v9, Storybook Rsbuild already provides basic alpha version support. Check out the v2 branch (using version 2.0-alpha.x), and refer to the Storybook v9 migration documentation.

Usage

Check out the documentation.

Roadmap

Features

  • Support TS type check (fork-ts-checker-webpack-plugin) (supported in 0.0.4)
  • Support more frameworks (Preact / Svelte / vanilla html / Lit)

Rspack support

  • Support webpackInclude magic comment (supported in 0.0.7)
  • Support persistent cache
  • Support lazy compilation
  • Support native virtual modules
  • Support module.unknownContextCritical
  • Support compilation.dependencyTemplates.set for react-docgen-typescript (supported in a workaround)

Credits

Some code is copied or modified from storybookjs/storybook.

License

MIT