Todo - Single Codebase for React Native
This application is an implementation of Single Codebase for React Native.
Clone the samples repo using the following command:
git clone https://github.com/composiv/liveui-samples
Move to the appropriate directory:
cd samples/todo-single-codebase-react-native
Install required packages:
npm install
For IOS:
npx pod-install
npm run ios
For Android:
npm run android
Start Metro Bundler:
npm start
Start serving remote components:
npm run start:live
This command was defined on the
scripts/package.json
and runs@eclipse-muto/liveui start-native
command. For more information about LiveUI CLI commands, please check it's documentation.