kadikraman / react-native-template

A template for a new React Native project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A template for a new React Native project


Languages

Language:Java 33.9%Language:TypeScript 30.3%Language:Objective-C 22.9%Language:JavaScript 5.7%Language:Ruby 4.2%Language:Starlark 3.0%