Skip to content
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

Update for Storybook 6 #42

Open
erikt9 opened this issue Sep 3, 2020 · 4 comments
Open

Update for Storybook 6 #42

erikt9 opened this issue Sep 3, 2020 · 4 comments

Comments

@erikt9
Copy link

erikt9 commented Sep 3, 2020

At the very least the dependencies in package.json are for @storybook/*: ^5.3.13 which will be outdated (and cause warnings when updating to storybook 6 via npx sb upgrade).

@markgaze
Copy link

markgaze commented Sep 4, 2020

This seems to be causing a crash in the new Storybook v6 Controls, see this comment: storybookjs/storybook#11373 (comment)

I'm experiencing the same issue in my project

@kaiyoma
Copy link

kaiyoma commented Nov 13, 2020

Just stumbled upon this too via some warnings during package installation. Please update these dependencies as they are really old.

@kaiyoma
Copy link

kaiyoma commented Apr 15, 2021

Any movement here? The dependencies for this package are so old that they're pulling in incompatible TypeScript types, which is leading to problems during builds. Storybook is on version 6 and this package causes Storybook 5 to be imported, which is a problem.

@kaiyoma
Copy link

kaiyoma commented Apr 15, 2021

BTW, this should have been obvious to me before, but for some reason I completely overlooked it and now I feel kind of silly. If you're using Storybook 6 and you're writing your stories as function components, you don't need this package at all. Just use the usual useState from React! It works perfectly and you can drop this dependency entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants