-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update migration guide from a RN #33
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we support react-native.config file as well, as that exists, perhaps there are some steps needed to move it?
- `src/` folder | ||
``` | ||
"plugins": { | ||
"react-native": "0.73.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think about plugins it should be stated, that renative does not use autolinking, which is used by react native, therefore not only the packages need to be moved to renative.json like you show, but should be moved as such:
"react-native": {
"version": "0.73.4",
"source": "rnv"
}
And if for some of their dependencies mapping does not exist, they will need to implement it
|
||
- `app`: This folder contains the main files for your application. | ||
- `entry`: This folder allows you to configure the launch settings of your app. It is intended for advanced configuration and customization. | ||
- `pages`: This folder enables you to create individual pages for your application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be stated, that is reserved for Next.js, if they don't do web, they don't need it, they can also specify a different folder in appConfigs/renative.json, but this is not just for individual pages for all platforms
|
||
replace `src/` folder content with source content of your app (JS files) | ||
:::warning Remember to Update Project Configuration Files | ||
When transferring your project, it's essential not to overlook updating your configuration files. This includes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe should mention that it would be with imports from renative withRnvBabel and such
Description
Related issues