Justin-Credible / react-native-typescript-boilerplate

The default React Native empty project converted to use TypeScript.

Home Page:http://www.justin-credible.net/2016/08/23/using-typescript-with-react-native/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-typescript-boilerplate

No Maintenance Intended

This repository contains an example of how to use TypeScript with React Native.

An accompanying blog post can be found here.

The idea was to start with the default, blank React Native project and convert it to use TypeScript. Each step of this process is done in a commit, so you can look at the commit history to see a diff of each step.

  1. Initialize empty React Native Project
  2. Install TypeScript and Typings
  3. Setup TypeScript Compilation
  4. Setup tslint
  5. Add chain loaders
  6. Fix tsx compilation errors
  7. Fix tslint errors

About

The default React Native empty project converted to use TypeScript.

http://www.justin-credible.net/2016/08/23/using-typescript-with-react-native/


Languages

Language:Objective-C 46.1%Language:TypeScript 22.9%Language:Python 17.2%Language:Java 13.0%Language:JavaScript 0.8%