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
Why does @storybook/react-native require react-dom as a peerDependency? As far as I know it is not needed and also not used with running with React Native?
@storybook/react-native 4.1.1
react-native 0.55.4
I get the following warnings when running yarn install
According to these issues react-dom will also be installed by default when starting a storybook project #1112 - [3.0.0] Using React Native storybooks does not add react-dom #1099 - Running getstorybook should add react-dom as a peer dependency for React Native projects
The text was updated successfully, but these errors were encountered:
Hey, @MrOggy85, starting from v5 it won't need it. It is necessary so we could run web part of storybook. But the web part from v5 is going to be opt in.
I am closing this issue, since we are aware of it. :)
Hey @Gongreg, storybook 6.5 still errors without react-dom (referenced in node_modules/@storybook/preview-web/dist/modern/renderDocs.js) in bare react native. Did this actually get changed? Any docs?
Why does
@storybook/react-native
requirereact-dom
as a peerDependency? As far as I know it is not needed and also not used with running with React Native?I get the following warnings when running
yarn install
According to these issues
react-dom
will also be installed by default when starting a storybook project#1112 - [3.0.0] Using React Native storybooks does not add react-dom
#1099 - Running getstorybook should add react-dom as a peer dependency for React Native projects
The text was updated successfully, but these errors were encountered: