# React native template

This is my own react native template to speed up project initialization.

## usage
```bash
npx @react-native-community/cli@latest init AwesomeApp --template @afrididev/rn-template --pm yarn
```

## To enable git hooks you need to install `lefthook` using:
``` bash
yarn lefthook install
```

## To enable yarn afterinstall hook edit `.yarnrc.yml` file and add this line at the bottom:
```yml
afterInstall: yarn lefthook install
```

> Note: better if you install pods later