Uncaught ReferenceError: Icons is not defined
at B (manager-bundle.js:2:6698)
at renderWithHooks (chunk-UOBNU442.js:92:907)
at mountIndeterminateComponent (chunk-UOBNU442.js:96:25851)
at beginWork (chunk-UOBNU442.js:98:28381)
at HTMLUnknownElement.callCallback2 (chunk-UOBNU442.js:31:42734)
at Object.invokeGuardedCallbackImpl (chunk-UOBNU442.js:31:43261)
at invokeGuardedCallback (chunk-UOBNU442.js:31:44569)
at beginWork$1 (chunk-UOBNU442.js:115:5396)
at performUnitOfWork (chunk-UOBNU442.js:111:56150)
at workLoopSync (chunk-UOBNU442.js:111:54884)
Things of note in my project:
We're still on React 17. Maybe this is conflicting somehow with this storybook change.
We're using @storybook/addon-webpack5-compiler-babel. We can't use swc (and are still using babel) because of styled-jsx incompatibilities.
Similarly to https://github.com/chromaui/storybook-addon-pseudo-states/issues/108#issuecomment-2020044981, I'm seeing stories fail to render when storybook-addon-pseudo-states is enabled.
Things of note in my project:
@storybook/addon-webpack5-compiler-babel
. We can't use swc (and are still using babel) because ofstyled-jsx
incompatibilities.