Skip to content
This repository was 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy