A simple React Native template with the following features:
- All TypeScript
- Eslint & Prettier configured
- React Navigation v5
- 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.
Be sure to have the React Native CLI installed.
npx react-native init AppName --template @react-native-school/react-native-typescript-template
- Run on iOS:
yarn ios
ornpm run ios
- Run on Android:
yarn android
ornpm run android
- Compile TypeScript:
yarn tsc
- Run Tests:
yarn test
ornpm run test
- Lint Code:
yarn lint
ornpm run lint
- Format Code:
yarn format
ornpm run format