Re:TypeScript support added to Create React App
by kumarharsh on Tuesday October 23, 2018 @12:05AM
(#18280642)
That feature is for JS files. It helps you convert your JS project into flow/TS in a piecewise manner. Otherwise you'll have to do a major rewrite in a very short amount of time.
Re:TypeScript support added to Create React App
by smt88 on Tuesday October 23, 2018 @01:55AM
(#18281028)
> Otherwise you'll have to do a major rewrite in a very short amount of time.
This just isn't true. TS was designed from the beginning to allow gradually adding types. Whether transpiling or using comments, you can change one file at a time.
That's as much as I know about it. I don't use that feature because transpiling is such a minor issue that I can't imagine any universe in which I would use comment-style types, which are slightly more cumbersome to use.