Using reactive native with our existing code

I wrote my application using my own method, at present I want to use the native reactive in our further development to avoid writing two copies of the code for iOS and Android.

The problem is that we cannot completely rewrite all the code, we want to replace the project in parts.

So I'm wondering if I can write some views on my project using reactive native, and others - native code that we have been using for a long time.

If possible, is there any existing tutorial on how to do this?

+7
android ios native
source share
2 answers

You can save your originally written native code through your own modules. You can transfer your current project fragments in parts to your own modules, and then allow React-Native to have access to it.

I think the best option is to start a new React-Native project and make it accessible to your native modules, you do not have to rewrite everything.

Learn more about Android and iOS.

+2
source share
+1
source share

All Articles