Storybook crashes client side when using storybook-addon-apollo-client with React 19 #124
Open
Description
Upgrading to React 19 results in storybook-addon-apollo-client
crashing Storybook client side with:
hook.js:608 TypeError: Cannot read properties of undefined (reading 'A')
at d (manager-bundle.js:7:727)
at se (manager-bundle.js:12:268)
at G.jsx (manager-bundle.js:16:980)
at Kr (manager-bundle.js:16:6833)
at Xh (globals-runtime.js:3339:13)
at Wk (globals-runtime.js:5796:23)
at Vk (globals-runtime.js:5549:13)
at Uk (globals-runtime.js:5541:27)
at Jk (globals-runtime.js:5530:9)
at Ok (globals-runtime.js:5306:81)
It looks like it might be due to a React version clash, as the actual source of the error is in React's internals, and seems to be due to a global constant not existing that is expected. Is React being partly bundled with the addon in some way? Other addons are fine.
A repo that reproduces the problem can be found here: https://github.com/mabinogi/apollo-addon-test
Metadata
Assignees
Labels
No labels