Answer the question
In order to leave comments, you need to log in
Is there a way to migrate a project from React to React Native?
Is there a way to migrate a (website, responsive/responsive) React project to React Native to make a mobile app?
That is, there is a mobile site written in React and the task is to make a native application from this mobile site and not rewrite the project from scratch using React Native, or any other tool. The goal is to get a mobile app.
Answer the question
In order to leave comments, you need to log in
The way you want it can't be done. It will be easier to rewrite the project from scratch. All that can be done in the React / ReactNative bundle is to reuse the logic, and this is also a laborious task that requires compatibility. They are almost unrelated. The advantage of ReactNative is only in its cross-platform, budget and ease of entry, since you can write in js
Look towards phonegap. Such applications are quite flawed, and not at all "native", but for your case this solution is quite suitable
https://phonegap.com/
1. Logic is boldly transferred one by one.
2. If you have react-router, then the navigation is transferred one to one.
3. Problems can only be with layout, since there is no cascading and css in react-native
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question