ReactNative and ReactNativeWeb MonoRepo
Technology Used:
React
React Native
React Native Web
Lerna
To Run the Project:
Please follow below mentioned step to run this project:
- Clone the repo
https://github.com/shubhadip/mono-repo-react-native
- run yarn in root folder
- Run
yarn webdev
in root folder.
- Run
yarn webdev
in root folder.
- Run
yarn libdev
in root folder.
- Run
yarn libdev
andyarn webdev
this is make sure your changes are reflected in realtime when you change code in library
- Run
yarn libdev
andyarn androiddev
this is make sure your changes are reflected in realtime when you change code in library
to develop android code we have to make a symlink from library to android folder.
npm install -g wml
.
wml add ./packages/common ./packages/nativeapp/node_modules/monoreactrepo
wml start
.
now you will updated code everytime you change something in library code.
import { YourComponent } from 'monoreactrepo'