$ cnpm install @storybook/react-dom-shim
A shim for react-dom that provides a single API that will work whether the user is on react-dom@17 or react-dom@18, as well as webpack/vite config necessary to make that work.
Learn more about Storybook at storybook.js.org.
Copyright 2013 - present © cnpmjs.org | Home |