Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Add documentation detailing differences between CRA 2.0 and CRA-TS #441

Open
wants to merge 1 commit into
base: wm-react-scripts-2.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ yarn start
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
When you’re ready to deploy to production, create a minified bundle with `npm run build`.

## Differences between CRA and CRA-TS

| | CRA-TS | CRA 2.1.1 |
|---|:-:|:-:|
| Namespaces | ✅ | ❌ |
| `baseUrl`/`paths` | ✅ | ❌ |
| Casting with `<Type>expression` | ✅ | ❌ |
| Type-Checking | Same process | Separate process |
| Transpilation | TypeScript | Babel |

## Migration

In general, most upgrades won't require any migration steps to work, but if you experience problems after an upgrade, please file an issue, and we'll add it to the list of migration steps below.
Expand Down