React Native + Typescript + Redux + Redux Saga boilerplate inspired by karanpratapsingh/react-native-boilerplate
- React Native (0.63.2) + Hermes
- TypeScript
- Clean Directory Layout
- ESLint
- Packages:
- Redux + Redux Saga
- React Navigation (Hooks)
- React Native Reanimated
- React Native Vector Icons
- React Native Gesture Handler
Assuming you have all the requirements installed, you can setup and run the project by running:
-
yarn install
to install the dependencies -
use the following steps for your platform
Run the following command while the simulator is open or a device is connected via adb.
yarn android
Run the following commands to install pods and run the app on iPhone 6 simulator (device can be changed via package.json
scripts)
yarn cocoapods
yarn ios
The boilerplate will follow latest React Native releases as soon as libraries and tools used here are compatible. I will personally try update this as I use this boilerplate in production 😄
Cocoapods install fails
yarn cocoapods
might fail for some users, if this happens then try deleting Podlock.file
and re-running the yarn cocoapods
command 😄
If the error persists then please check your cocoapods version using pod --version
. It should be >= 1.7.5
. If not then please run sudo gem install cocoapods
😃
Please follow this guidelines when reporting bugs and feature requests:
- Use GitHub Issues board to report bugs and feature requests (not our email address)
- Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.
Thanks for understanding!
The MIT License (see the LICENSE file for the full text)