Doist/reactist

Update storybook-addon-badges to React 18 compatible version

frankieyan opened this issue · 0 comments

We're on an older version (0.0.4) of storybook-addon-badges, but even the newest version pulls in an older version of @storybook/theming at 6.2.9, which lists @emotion/core (Emotion 10) as its dependency and isn't React 18 compatible.

Newer versions of @storybook/theming have already upgraded to Emotion 11, and it should be kept on the same version as the rest of our storybook dependencies. We may be able to force npm to reconcile to the newer version of @storybook/theming using package.json's overrides field, and in the meantime submit a PR to addon-badges to update storybook's version upstream.