A simple React Native template with testing, navigation, and code formatting setup. Written in TypeScript.
npm install @react-native-school/react-native-typescript-templateA simple React Native template with the following features:
- All TypeScript
- 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.
> Be sure to have the React Native CLI installed.
``bash`
npx react-native init AppName --template @react-native-school/react-native-typescript-template
- Run on iOS: yarn ios or npm run iosyarn android
- Run on Android: or npm run androidyarn tsc
- Compile TypeScript: yarn test
- Run Tests: or npm run testyarn lint
- Lint Code: or npm run lintyarn format
- Format Code: or npm run format`
List Screen
!List Screen
Text Screen
!Text Screen
Form Screen
!Form Screen
Button Screen
!Button Screen