Template to quickly start a new React native project with typescript. Comes with most common packages and a default folder structure.
Using Expo 46.
Please read Starting React Native Project in 2022 article for details.
- Install Expo CLI with
npm install --global expo-clioryarn global add expo-cli. - Create new React Native project with this template.
- Change directory to your project's folder with
cd <your-project-name>. - Run Metro Bundler with
expo start. - Build and run the project with
yarn iosoryarn android.
Good Luck!!
- TypeScript.
- Absolute path imports (e.g.
import { ComponentA } from 'src/components/A'). - Prettier.
- Remove React imports.
- Check code for errors with TypeScript compiler and ESLint.
- Generate changelog with standard-version.
- Lint commits with Husky.
expo start- start Metro Bundler.yarn ios- build and run iOS.yarn android- build and run Android.yarn web- run on web.yarn lint- check code for errors.yarn release- generate a changelog, bump the version of app and create a new tag.