Skip to content

Commit 3064446

Browse files
update CRA with typescript docs
1 parent b468efd commit 3064446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ Translations: [中文翻译](https://github.com/fi3ework/blog/tree/master/react-
6767

6868
## React + TypeScript Starter Kits
6969

70-
1. [Create React App](https://facebook.github.io/create-react-app/) - create React apps with no build configuration
71-
2. based on `create-react-app`
70+
1. [Create React App v2.1+ with Typescript](https://facebook.github.io/create-react-app/docs/adding-typescript) - see accompanying blogpost for migrating from [`create-react-app-typescript`](https://vincenttunru.com/migrate-create-react-app-typescript-to-create-react-app/)
71+
2. Custom scripts that work with `create-react-app` and support Typescript:
7272

7373
- [wmonk](https://github.com/wmonk/create-react-app-typescript)'s script is a fork of create-react-app but has very strict tslint rules
7474

@@ -82,7 +82,7 @@ Translations: [中文翻译](https://github.com/fi3ework/blog/tree/master/react-
8282
8383

8484
3. <https://github.com/sw-yx/create-react-app-parcel-typescript> sets up a React + TypeScript app with Parcel :)
85-
4. <https://github.com/basarat/typescript-react/tree/master/01%20bootstrap> for manual setup of React + TypeScript + Webpack + Babel
85+
4. <https://github.com/basarat/typescript-react/tree/master/01%20bootstrap> for **manual setup** of React + TypeScript + Webpack + Babel
8686
5. [webpack config tool](https://webpack.jakoblind.no/) is a visual tool for creating webpack projects with React and TypeScript
8787

8888
In particular, make sure that you have `@types/react` and `@types/react-dom` installed. [Read more about the DefinitelyTyped project if you are unfamiliar](https://definitelytyped.org/). There are also many React + TypeScript boilerplates, please see [our Resources list below](https://github.com/sw-yx/react-typescript-cheatsheet#recommended-react--typescript-codebases-to-learn-from).

0 commit comments

Comments
 (0)