Skip to content

Commit 5c7ed69

Browse files
authored
Update README.md
1 parent afb35e1 commit 5c7ed69

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
## TypeScript support out of the box with React Native 0.57!!!
2-
3-
This template will no longer be maintained as native TypeScript support has been added to React Native 0.57: https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#057
4-
51
# :space_invader: React Native Template TypeScript · [![Build Status](https://travis-ci.org/emin93/react-native-template-typescript.svg?branch=master)](https://travis-ci.org/emin93/react-native-template-typescript)
62

73
Clean and minimalist React Native template for a quick start with TypeScript.
@@ -12,24 +8,24 @@ Clean and minimalist React Native template for a quick start with TypeScript.
128

139
- Seamlessly integrated into the React Native CLI! :sparkles:
1410
- Consistent with the default React Native template
15-
- React Native TypeScript Transformer included
16-
- Unit testing in TypeScript with TS Jest
1711
- Always latest dependencies :raised_hands:
1812

1913
## :arrow_forward: Quick Start
2014

2115
```bash
22-
react-native init MyApp --template typescript && node MyApp/setup.js
16+
react-native init MyApp --template typescript
2317
```
2418

2519
## :question: FAQ
2620

21+
### Why this template when React Native 0.57+ supports TypeScript out of the box?
22+
23+
First of all, I started this template before React Native 0.57 came out. After React Native 0.57 was announced, I planned to stop maintaining this template. But I realized to properly set up a new React Native 0.57+ project, you still have to do manual work (add type definitions for React & React Naitve, create a `.tsconfig` for type checking, etc.). And that's where this template comes in and does that work for you :blush:.
24+
2725
### What's included in this template?
2826

2927
- [TypeScript](https://github.com/Microsoft/TypeScript)
30-
- [React Native TypeScript Transformer](https://github.com/ds300/react-native-typescript-transformer)
3128
- [Type definitions for React & React Native](https://github.com/DefinitelyTyped/DefinitelyTyped)
32-
- [TS Jest](https://github.com/kulshekhar/ts-jest)
3329

3430
This template always uses the latest versions of the dependencies at the time when the `react-native init` command is being executed. This means you don't have to worry about old versions.
3531

@@ -45,6 +41,10 @@ Yes it does.
4541

4642
[![Demonstration of working breakpoints in Visual Studio Code](https://cdn-images-1.medium.com/max/1600/1*ZXfzgq1xKz1B3chYy9xE7w.png)](https://medium.com/@emin93/react-native-typescript-b965059109d3)
4743

44+
### How to do type checking?
45+
46+
`npm run tsc`
47+
4848
## :globe_with_meridians: Links
4949

5050
- ["Using React Native with TypeScript just became simple" on Medium](https://medium.com/@emin93/react-native-typescript-b965059109d3)

0 commit comments

Comments
 (0)