-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
How to coexist multiple versions of React Native in a project? #47330
Comments
|
|
|
@nanatlantica Instead of migrating to 0.72.5 which is currently an unsupported version. You can try migrating to latest 0.75.x. |
This is not easily doable. Expo was doing so with Expo Go, but you'll have to vendor react native and is a huge work (i.e. you'll have to rename a lot of classes to like I don't think is worth the effort and our suggestion is just to spend the time to migrate to the latest version, also as @shubhamguptadream11 suggested. |
Description
My project is currently using version 0.64.2, and I want to switch to version 0.72.5. However, since there are many pages, I cannot switch all at once and need to do it gradually. Therefore, I hope to create two different dynamic libraries for the different versions of React Native. Is this feasible? Or are there other solutions?
Steps to reproduce
My project is currently using version 0.64.2, and I want to switch to version 0.72.5. However, since there are many pages, I cannot switch all at once and need to do it gradually. Therefore, I hope to create two different dynamic libraries for the different versions of React Native. Is this feasible? Or are there other solutions?
React Native Version
0.72.5
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/nanatlantica/RNDynamic.git
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: