Open nstuyvesant opened 10 months ago
@nstuyvesant Pretty sure ReactDOM
references the module and ReactDOM.createRoot
references the export. @ndelangen please feel free to elaborate.
That said I don't see any issue with your proposed change. Please feel free to open a PR with the change and we can update.
Any updates or workarounds on this? having the same problem here
Yeah I am also running into a similar issue. My problem started when I tried to implement Storybook Composition. The issue that I am seeing specifically is:
TypeError: Failed to fetch dynamically imported module: http://localhost:6006/node_modules/.cache/sb-vite/deps/@storybook_addon-essentials_measure_preview.js?v=a0a039f4
Basically I have one component that I want storybook to display that is React. The reset of the design library is just Lit Element components. Is there any update on this issue and how to resolve it yet?
Describe the bug
I am unable to run storybook for a package written in React 18 using
@storybook/react-vite
(have to use@storybook/react-webpack5
). I get an erroron this line of 'react-dom-shim'...
When I look at
react-dom/client.js
, I only see two named exports - no default.Shouldn't
be
and then change line 48 from:
to
To Reproduce
I don't have an easy repro though you could clone the
@carbon/charts
project and look at the react package's Storybook configuration.System
Additional context
No response