Skip to content

kadikraman/react-native-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React Native Template

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

Why?

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.

navigation

What's included

Building on top of the default React Native TypeScript template, with some modifications.

Notable modifications:

  • basic navigation:
    • 2 bottom tabs
    • one full screen modal
    • one stack navigator
  • TypeScript module alias to ~src