RN TS Boilerplate
  • Introduction
  • Getting Started
  • Why Use This Template
  • CLI Tools
  • Building Blocks
    • Building Blocks
    • The Slice
      • Redux & Toolkit
      • Reselect
      • Redux-Saga
      • Redux Injectors
    • Navigation
    • Splash Screen
Powered by GitBook
On this page

Was this helpful?

Getting Started

PreviousIntroductionNextWhy Use This Template

Last updated 3 years ago

Was this helpful?

Getting started with the template is fairly easy. There are only a few number of steps as listed down below.

using over NPM is recommened when using this template.

1. Create react native app by providingreact-native-typescript-boilerplate as a template.

npx react-native myapp --template https://github.com/abdulhamidOumer/react-native-typescript-boilerplate.git

2. Get into the generated app's directory and explore the code and features.

cd myapp
yarn start

3. Get started by setting your app icon or splash screen icon.

yarn set

4. Optional - Initiate husky pre-commit hooks.

yarn init-husky
YARN