The ideal starting app for React Native, best practices, generators, and more.
- Seed Apps/Components/Styles etc. with ignite generator
- JS Code Standard - Standard Compliant
- Multiple Platform Support
- Documented Structure
- Redux State Management
- Optional Redux Persistence (uses AsyncStorage via redux-persist)
- Sagas Redux Daemons
- Githooks
- Mocha Tests
- API Client
- Include Common Libs:
To view the generated example project, just pull down the code and run ignite-base!
Make sure you're setup for React Native
Install
npm install -g react-native-ignite
Use
ignite new MyApplication
- cd to the repo
- Run Build for either OS
- for iOS
- run the command
react-native run-ios
- run the command
- for Android
- Run Genymotion
- run the command
react-native run-android
Code is geared towards tested and cross platform functionality. XDE is disabled by default, but see index.js for enabling.
This project adheres to Standard. Our CI enforces this, so we suggest you enable linting to keep your project compliant during development.
To Lint on Commit
- Install git-hooks => On a Mac
brew install git-hooks- Other - Setup on Repo =>
git hooks --install
Translations are kept in the I18n.js file. Edit this file for strings. Even if your app doesn't support multi-languge, this is one of the best ways to keep strings uniform, and typos in check throughout an application.
🆒 Built by the fine folks at Infinite Red
We're web (Elixir and Phoenix) and mobile (React Native) developers based in Portland and San Francisco.
-
- Best Practices Base App
-
- Working App Generator
-
- Working Component Generator
-
- Working Container Generator
-
- Working Screen Generator
-
- Working Reducer Generator
-
- Working Saga Generator
-
- Pick and choose formulas in Generator
- e.g.
Did you want a drawer? - e.g.
Did you want i18n?
-
- Utilize composabilities of generator
-
- Example app can still be generated with it's own command (not default)
-
- Generated apps can have some supportablity for upgrades
-
- Upgradable commands