To initialise a new React Native project using this template, run:
npx react-native init MyApp --template https://github.com/kadikraman/react-native-template.git
I wanted a custom template for starting a new React Native project since I kept doing the same steps (folder layout, styles, types, navigation) over and over again for new project so I decided to condense these into a project template.
Probably most notably, this template comes with a basic bottom + stack + modal navigation setup using React Navigation v6.
Building on top of the default React Native TypeScript template, with some modifications.
- basic navigation:
- 2 bottom tabs
- one full screen modal
- one stack navigator
- TypeScript module alias to
~src