-
Notifications
You must be signed in to change notification settings - Fork 2.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
react 16.0.0-alpha.3 on Stable branch? #717
Comments
Indeed this was creating a mess when JS was bundled. I've reverted to |
React Native 0.43 moved to "react": "16.0.0-alpha.6" Might also be related to this |
Yep, currently, both packages puts you in the same mess. If you're using react-native > 0.42.3 and/or native-base > 2.1.0, you can't compile anymore. |
In order to use the alpha version, you need to run:
Clean ios/android build folder:
After that, just run as usual:
|
Why the requirement of React Native 0.43? It just got released and uses React 16 but all 3rd party libraries are on React 15. Why not just require RN >= 0.42? That would fix all the NPM peer dependency issues. |
I agree with last comment.. moving to 0.43 breaks other libraries like react-navigation |
Same problem here... I moved to react-native 0.43, upgraded nativebase and it broke my project. Instructions above for using the react alpha branch didn't work for me. Now, I got my app working again by reverting to 0.42 and reinstall native-base back to 2.0.12 (as later versions seem to require 0.43). |
I've spent a while getting my build stable again too. I've managed to settle for:
I previously had: |
RN > and < 43 dependency issue fixed with v2.1.3 |
Why do you use an alpha version on your stable branch?
It's not compatible with previous versions...
The text was updated successfully, but these errors were encountered: