React-create-app+react-native-web subcontracting problem

We have a project that was originally developed in react-native. Now we want to move this project to the h5 version of the web page. We use the react-naitve-web library.

the process of building a project is to first create app, with react-create-app scaffolding, then install related libraries such as react-naitve-web, and then move the reacct-native code over.

now there is a problem. We need to package the business code and the framework code separately. After the framework code is packaged, it can be reused in multiple projects. Is there any better subcontracting scheme?

Mar.22,2021
Menu