YahuiWong/react-native-typescript


a React Native powered by dva-core , react-navigation and typescript

https://blog.yahui.wang/tags/react-native/

Language: Objective-C

Keywords: dva, dva-core, react, react-native, redux, redux-middleware, redux-saga, redux-thunk, typescript


react-native-typescript

how to init your typescript

  • add files tslint.json tsconfig.json rn-cli.config.js

  • yarn add @types/react-native @types/react react-native-typescript-transformer typescript -D

  • update package.json script "start": "react-native start --transformer node_modules/react-native-typescript-transformer/index.js --sourceExts ts,tsx"

add redux

  • yarn add react-redux redux

  • yarn add @types/redux @types/react-redux -D

  • ……

Project Statistics

Sourcerank 3
Repository Size 1.44 MB
Stars 4
Forks 0
Watchers 0
Open issues 0
Dependencies 845
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

ArthurWang

Something wrong with this page? Make a suggestion

Last synced: 2018-11-19 05:35:48 UTC

Login to resync this repository