Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag
Solution: <View />
Fork from React Native Boilerplate
The React Native, Redux boilerplate for personal usage
- React & React Native
- React Navigation
- Redux & Remote Redux DevTools & On Debugger
- Immutable
- Babel & Plugins: transform-decorators-legacy
See Getting Started to install requirement tools.
$ npm install -g react-native-cli
$ npm install
Also, you can use generator-rnb to create project with this boilerplate.
$ npm start
Run command to open iOS simulator and run app:
$ npm run ios
Open Android emulator (recommended Genymotion) and run command: (Or connect real device via USB)
$ npm run android
In development mode, you can install React Native Debugger as default debugger. if not install, it will use Remote Redux DevTools and RemoteDev RN Debugger.
$ npm test
- react-native-counter-ios-android's counter example.