!!! Using Vue? Try histoire
- Build your components in isolation
- makes it easy to develop hard-to-reach states
- Document components
- search 🔎
- playground to learn how the component works
- make it easy to write tests!
- write a story and then write a unit test for that story with React Testing Library
Tutorial on how to write your first story
Tutorial on re-using stories in unit tests
Q & A¶
Storybook is stuck loading locally!¶
If you're getting this error in the browser console:
Singleton client API not yet initialized
Reinstall your node_modules
The bottom controls bar disappeared! What do I do?¶
You may have pressed
F which toggle the visibility of the controls
Why isn't my story showing up?¶
- Did you name it *.stories.tsx?
- Is there a syntax/runtime error in your story? (check the browser console)
- Is the default export's title unique?