You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We heavily use React storybook for building React components in our project. There are multiple teams working on the project. We build stateless components and use props to pass values to the components. One of the main issues we face is that there are unintentional storybook breaks when one team changes data structures without changing the storybook tests. It would be better if we can add a pre-commit hook where we can test whether there are any storybook breaks before any commit.
We tried out storybook snapshots but it didn't serve our purpose. Any future ideas to implement a feature or addon for this or is there a method already to do this?
Thanks
The text was updated successfully, but these errors were encountered:
@tmeasday, Thanks for this solution. This seems to be what I was looking for. Let me try this out and get back to you if I come across any issues. Thanks again for your support.
Hi,
We heavily use React storybook for building React components in our project. There are multiple teams working on the project. We build stateless components and use props to pass values to the components. One of the main issues we face is that there are unintentional storybook breaks when one team changes data structures without changing the storybook tests. It would be better if we can add a pre-commit hook where we can test whether there are any storybook breaks before any commit.
We tried out storybook snapshots but it didn't serve our purpose. Any future ideas to implement a feature or addon for this or is there a method already to do this?
Thanks
The text was updated successfully, but these errors were encountered: