PoC for making a love story out of Bit and Storybook. Bit provides a truly isolated development experience for components. Storybook excels in component rendering and showcase. Together it is the most epic solution for component development and management.
Testing components in true isolation is hard. For example, even when using Storybook you are prone to the issue around
gif placeholder
Bit Storybook supports React, Angular and Vue.
Install Bit's Storybook extension on your workspace
$ bit use storybook
To start development of all your workspace components with Storybook, use the bit storybook
command.
It will open Storybook listening to your configured port on your local machine.
$ bit storybook
We should create a capsule
$ bit add src/button --story src/button/button.story.tsx
Do we really need this?
$ bit storybook button
{
"bit": {
"storybook": {
}
}
}