0.1.14 • Published 3 years ago
rn-template-app v0.1.14
:rocket: React Native Template App
React Native template for a quick start.
:arrow_forward: Usage
npx react-native init MyApp --template rn-template-app:star: Libraries
- Navigation:
react-navigation v6 - Testing:
@testing-library/react-native & jest - Linter:
eslint - Code Formatter:
prettier - Managing git hooks:
husky
Folder Structure
src/
├── components/ [*] components
│ └── core [*] core components like button, spacer etc.
├── fixtures [*] mock data
├── hooks [*] custom hook
├── navigators [*] navigator config
├── screens [*] app screens
├── services [*] api and other services stuff
├── theme [*] theme config
└── utils [*] constants, helpers and other related stuffSample Screens
| Home | Test |
|---|---|
Custom run script for ios
You can use yarn run:ios deviceName=14
['14', 'se', 'plus', .....]
I will add more features for custom run script.