An open API service indexing awesome lists of open source software.

https://github.com/justin-credible/react-native-typescript-boilerplate

The default React Native empty project converted to use TypeScript.
https://github.com/justin-credible/react-native-typescript-boilerplate

archived react-native starter typescript vscode

Last synced: about 1 year ago
JSON representation

The default React Native empty project converted to use TypeScript.

Awesome Lists containing this project

README

          

# react-native-typescript-boilerplate

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

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

An accompanying blog post can be found [here](http://www.justin-credible.net/2016/08/23/using-typescript-with-react-native/).

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](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commits/master) to see a diff of each step.

1. [Initialize empty React Native Project](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/f9cdaecb1e115b0ae99eb6130702783c7b72a8a8)
1. [Install TypeScript and Typings](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/4c0fede47cd47c456eef779df402059c4e74c240)
1. [Setup TypeScript Compilation](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/839ab388b5b12ee0b722a8b71224e5fe47c735bf)
1. [Setup tslint](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/557e896e98e84873fd7f141a2476b30b233233e2)
1. [Add chain loaders](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/c4b45805df55b4bed0046a5aa315b4873e571659)
1. [Fix tsx compilation errors](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/5bfcc12fb54998ed3e96dfa12e81b6e71883fb7d)
1. [Fix tslint errors](https://github.com/Justin-Credible/react-native-typescript-boilerplate/commit/ead7bdc1883f7eda3c026830aec5d63d4bb4dc91)