-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
⛔️ React 15.x Storybook upgrade => 5.2.x fails #8284
Comments
Had Storybook 5.x ever been pronounced to be compatible with React 15 ? |
@JabbyPanda Yes, at some point 5.x has been verified compatible. We'll fix it and be sure to do a better job keeping it unbroken. |
@shilman it's a docs-mode change that broke it: This code run in the preview and uses emotion, this therefore requires react 16.x |
I appreciate you guys working on this. We attempted to update our app to React 16 within the last 12 months but ran into some bottlenecks. We'll get to it eventually but for now it's not mission critical like other issues we're working on. I was looking this morning to see if I could quickly do a |
Yowza!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.21 containing PR #8454 that references this issue. Upgrade today to try it out! You can find this prerelease on the Closing this issue. Please re-open if you think there's still more to do. |
Great Caesar's ghost!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.2.5 containing PR #8454 that references this issue. Upgrade today to try it out! |
I can confirm Storybook 5.2.5 is working properly with React 15! 🍾
|
Thank you for the feedback @frankstallone, it's very valuable. |
doesnt seem to work. emotion with core v10.0.22 still having issue
|
cc @ndelangen |
emotion v10 requires React 16.5, this we can't fix for you. |
Describe the bug
Storybook 5.2.x no longer works with React 15.x. Seems to be an issue with Emotion
To Reproduce
Upgrading a working React 15.x Storybook, on version 5.1.x to 5.2.x
npx npm-check-updates '/storybook/' -u && npm i
npm start
to get storybook running it fails to load and errors out in console.Expected behavior
Magic 🧙🏻♀️
Screenshots
Code snippets
Error:
System:
I also use Firefox/Firefox nightly and Canary.
The text was updated successfully, but these errors were encountered: