-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev tool request: Take React Storybook into use #7013
Comments
I'd like to use Storybook to develop some more features, since I don't see an easy way to generate content (posts, notifications, users) to test the components with right now. Should I make a PR without the Storybook commits, just the features? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Start using react storybook.
What is
React storybook is a simple ui development environment that allows developing react components separately from the rest of the application.
Pros
Story organizing conventions
If storybook is taken into use in a project this size, it's good to keep stories next to the components they are written about. That is, in the same folder and with a name
*.stories.js
(instructions for doing this).i.e.
Additionally, if stories in a specific file require larger amounts of example data, the data is handy to keep in a separate file, named e.g
*.stories.data.js
.master
(If you're a user, don't worry about this).The text was updated successfully, but these errors were encountered: