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 ReactNativeTSInstall dependencies:
yarnStart React Native server:
yarn startBuild the source-code with Typescript:
# Build once
yarn run build
# Build and watch for changes
yarn run build -- --watchyarn run iosyarn run androidThis project uses Typescript + Jest. Run the test suite with:
yarn test