0.0.2 • Published 7 years ago
react-native-template-starter-kit v0.0.2
React Native Template Using:
- Mobx
- Mobx React
- React Navigation(Managed by mobx store)
- ESlint
- Prettier
Pre-requisites
- Follow the React Native getting started guide (Select Building Projects with Native Code)
ESlint(Optional)
- Install ESlint globally:
$ npm i -g eslint
- Install ESlint react & react-native plugins:
$ npm i -g eslint-plugin-react eslint-plugin-react-native
- Install ESlint extension for your editor: VScode Atom Sublime Text
Prettier(Optional)
- Install Prettier globally:
$ npm i -g prettier
- Install Prettier extension for your editor: VScode Atom Sublime Text
Usage
Create a new project using starter-kit template:
$ react-native init ProjectName --template starter-kit
Run this command to add template dev dependencies: (Huge shout out to re-start team)
$ node scripts/addDevDependencies.js
You're ready to write awesome cross-platform apps!
TODO:
- [] Add Login screen & store functions. (return a Promise. can implement any login logic)
- [] Finish the demo app. (basic styles)
- [] Add tests.
- [] Write a 'how to use' guide. (cover how to add screens, stores, navigators)
0.0.1
- React Navigation is managed by Mobx store.
- Dev dependencies auto install script.
- ESlint & Prettier config files.