-
Notifications
You must be signed in to change notification settings - Fork 492
Add documentation detailing differences between CRA 2.0 and CRA-TS #438
Comments
I believe the correct CRA version is 2.1. Also one more difference to add could be that in CRA 2.1 you can't use |
Thanks @tomashubelbauermicrosoft, I've updated the table above. Do you think its worth mentioning the differences from here too? |
Decorators won' bet supported until CRA 2.1.1: facebook/create-react-app#5642 EDIT: Now fixed and released as CRA 2.1.1. |
What are the implications of using Babel vs tsc for transpilation? |
@doxxx Namespaces and casting |
I think we should include babel-loader for typescript files as well because of the super handy |
@dkozickis After doing some reading, it would seem that one of the other implications is that Babel 7 doesn't actually do any type-checking of Typescript code, it just transpiles it down to Javascript. If you want type-checking, you still have to run |
Just tried out
|
@doxxx I thought I'd read that somewhere too, but can't seem to find any links 😕. If you could post one, that would be awesome 👍 |
It would be nice to list the main differences between the two projects, since there is quite a lot of overlapping functionality and can be somewhat confusing to developers who need to make a decision.
Here's what I have so far:
baseUrl
/paths
<Type>expression
The text was updated successfully, but these errors were encountered: