@react-native-school/react-native-template
v1.2.0
Published
A simple React Native template with testing, navigation, and code formatting setup.
Downloads
120
Maintainers
Readme
React Native School React Native Template
A simple React Native template with the following features:
- Eslint & Prettier configured
- React Navigation v6
- Testing Configured
- Simple project structure
- Small component library to get started with
It's easy to create a project, strip out the few components included, and still have the architecture in place to quickly start building an app.
Installation
Be sure to have the React Native CLI installed.
npx react-native init AppName --template @react-native-school/react-native-template
Usage
- Run on iOS:
yarn ios
ornpm run ios
- Run on Android:
yarn android
ornpm run android
- Run Tests:
yarn test
ornpm run test
- Lint Code:
yarn lint
ornpm run lint
- Format Code:
yarn format
ornpm run format
Screenshots
List Screen
Text Screen
Form Screen
Button Screen