React-native 0.43 depends on React 16.0.0-alpha.6
See original GitHub issueDescription
After running
react-native init TestLatestCode
React native creates the following dependencies within the package.json file
"dependencies": {
"react": "16.0.0-alpha.6",
"react-native": "0.43.0"
},
I would have expected a dependency on a stable release of React, instead an alpha version is currently being used.
Reproduction Steps and Sample Code
react-native init TestLatestCode
View the generated package.json file
Solution
Clarify if this react alpha dependency is safe to use in production currently. It currently seems counter intuitive to have stable release of react-native code depend on an alpha release of react.
If it is not stable, presumably this dependency will need to be downgraded? 🤔
Additional Information
- React Native version: 0.43
Issue Analytics
- State:
- Created 6 years ago
- Reactions:43
- Comments:6 (3 by maintainers)
Top Results From Across the Web
React Native 0.43 upgrade: react@16.0.0-alpha.6 does not ...
When I try to upgrade my react to @16.0.0-alpha.6, I get the following error: $ npm install --save react@16.0.0-alpha.6 npm ERR!
Read more >Upgrading from 3.x - React Navigation
Installing dependencies into a bare React Native project. In your project directory, run npm install react-native-reanimated react-native-gesture-handler react ...
Read more >Expo SDK v16.0.0 is now available | by Brent Vatne | Exposition
React 16 alpha, peerDependencies, and ecosystem compatibility. React Native 0.43 depends on React 16 alpha. Don't let the alpha qualifier scare you too...
Read more >react-native-list - npm
Currently, React-Native@0.43 depends on React@16.0.0-alpha6 which isn't yet supported by many libraries like Enzyme etc.
Read more >Versions · React Native
React Native versions. Open source React Native releases follow a release train that is coordinated on GitHub through the react-native-releases repository.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is intentional because the React Native releases follow the copy of RN in Facebook’s repo, which also sometimes uses alpha versions of React. It is correct to depend on React 16 alpha 6.
Is it correct but it breaks? (See the more than 100 issues opened with the
0.43tag) What are we missing?