Open unional opened 1 month ago
Similar issue in @storybook/core
:
// needs to be `react/jsx-runtime.js` in React 17
import { Fragment as b6, jsx as iu } from "react/jsx-runtime";
Do you a have a reproduction repo you can share? If not, can you create one? Go to https://storybook.new or see repro docs. Thank you! 🙏
Not yet. This is mostly react 17 vs 18 issue. Some of storybook dependency (radux-ui, and storybook/core) is using react 18 specific stuff. So it just won't work with react 17 out of the box.
i.e. storybook 8.3 does not support react 17 anymore, unexpectedly.
I can work around it by patching those two packages locally.
Update: a simple repro doesn't repro the issue. Maybe also related to tsconfig.
However, really not sure why not able to repro, as the import statement is pretty clear shouldn't work.
Same error here! yarn: 4.5.0
, yarn
workspaces mono and zero-installs
Just downgraded to 8.2.2 and everything works again!
Maybe let's look into this error?? 😄
Hi there! Thank you for opening this issue, but it has been marked as stale
because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!
Describe the bug
When upgrading form storybook 8.2.6 to 8.3.4, I got this error.
It is caused by
@storybook/react/dist/chunk-OOL6AVF7.mjs
:I'm using React 17.
Reproduction link
TBD
Reproduction steps
No response
System
Additional context
No response