-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.0.0] Using React Native storybooks does not add react-dom #1112
Comments
@orta please upgrade to the latest |
This was referenced Nov 5, 2022
This was referenced Dec 25, 2022
This was referenced Dec 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello there, I thought I'd take a look at updating our React Native usage of storybooks from ~2.3.0 to 3.0.0
I removed the kadira version, then added the new storybooks:
Edited my source code to fix import names, improve my web pack config then launched: artsy/emission@4846716
When I started up the storybooks server, I got:
Error: Can't resolve 'react-dom' in '/Users/orta/dev/projects/artsy/ios/emission/node_modules/@storybook/ui/dist/modules/ui'
This was easily fixed for my project by doing
yarn add react-dom -D
but I think you'll need to declare this somewhere for React Native projects 👍The text was updated successfully, but these errors were encountered: