You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storybook requires a module called emotion which imports createContext from react
When we use preact, this module throws an error because the preact-compat mapping for createContext over to preact for imports from 'react' is not compatible with the new Storybook version
Any chance this will be fixed?
The text was updated successfully, but these errors were encountered:
Hey @skaraman, I'm working on a specific @storybook/preact version so we no longer have to patch the storybook runtime with preact-compat. I hope to have it finished in the coming days.
storybookjs/storybook#4796
Storybook requires a module called
emotion
which importscreateContext
fromreact
When we use preact, this module throws an error because the preact-compat mapping for createContext over to preact for imports from 'react' is not compatible with the new Storybook version
Any chance this will be fixed?
The text was updated successfully, but these errors were encountered: