Name: reactxp-starter
Owner: React Native Training
Description: Basic Blank ReactXP Project for Development
Created: 2017-04-15 22:30:27.0
Updated: 2018-05-23 10:40:14.0
Pushed: 2017-05-13 12:08:47.0
Homepage: null
Size: 48077
Language: Objective-C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This app works on React Native (iOS, Android) and web. Most of the app's code is contained in App.tsx
.
The commands in the instructions below assume you are in the root of this repo.
npm install
. This fetches the dependencies.node_modules/reactxp/dist/native-common/App.js
and replace
RN.AppRegistry.registerComponent('RXApp',
with
RN.AppRegistry.registerComponent('reactXPTest',
npm run web-watch
. This compiles the TypeScript code and recompiles it whenever any files are changed.index.html
in your browser to view the result.npm run rn-watch
. This compiles the TypeScript code and recompiles it whenever any files are changed.npm start
. This starts the React Native Packager.