This app works on React Native (iOS, Android) and web and is a proof of concept of using react-navigation in reactxp.
The commands in the instructions below assume you are in the root of this repo.
- Run
npm install
. This fetches the dependencies.
- Run
npm run web-watch
. This compiles the TypeScript code and recompiles it whenever any files are changed. - Open
index.html
in your browser to view the result.
- Run
npm run rn-watch
. This compiles the TypeScript code and recompiles it whenever any files are changed. - In another command prompt run
npm start
. This starts the React Native Packager. - Use Xcode or Android Studio to build and deploy the native app code just like you would with any other React Native project.