No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
__tests__ Initial project May 16, 2017
android
ios
src Add precommit hooks for lint, formatting and compile-check Mar 17, 2018
.babelrc Initial project May 16, 2017
.buckconfig
.flowconfig
.gitattributes
.gitignore
.watchmanconfig
LICENSE
README.md
app.json
index.js
jsconfig.json
package.json
rn-cli.config.js
tsconfig.json
tslint.json
yarn.lock Add precommit hooks for lint, formatting and compile-check Mar 17, 2018

README.md

React Native Typescript Starter

Starter project made for my Novanet blog post @ http://blog.novanet.no/easy-typescript-with-react-native/

Simple React Native starter project for TypeScript. Your typical Redux Counter-app, now with typing! Should give you intellisense in VSCode with @types.

Made possible by the great work of @ds300 who landed a custom source extension PR in RN 0.45. He also made the react-native-typescript-transformer needed to transform the TypeScript for the RN packager. So hats off for him!

Important files

App source code is found under the src folder.

Required packages (see package.json)

  • react-native >= 0.45.0 (RC as of this writing).
  • react-native-typescript-transformer >= 1.0.5

Type definitions are also nice to have:

  • @types/react
  • @types/react-native