Microsoft/TypeScript-React-Native-Starter
.
Minimal template of a React Native project with Typescript.
This project has been updated but the Medium guide has not. Please, use this repository as reference.
Recommended usage with VSCode
Clone this repository:
git clone https://github.com/mrpatiwi/ReactNativeTS.git
cd ReactNativeTS
Install dependencies:
yarn
Start React Native server:
yarn start
Build the source-code with Typescript:
# Build once
yarn run build
# Build and watch for changes
yarn run build -- --watch
yarn run ios
yarn run android
This project uses Typescript + Jest. Run the test suite with:
yarn test