Re:TypeScript is nearly half as popular as JavaScript for Re...
by nostalgeek on Thursday August 09, 2018 @07:26AM
(#17723208)
> I've used Flow in 2016 and getting it to work on code editors was a huge pain.
Typescript also has support for js-doc style type declarations, at a basic level, IMHO it's less painful to use than Flow. Does Flow even has a compiler that doesn't rely on OCaml?
https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...
Also worth mentioning that TS npm download is greater than React consistently.
http://www.npmtrends.com/typescript-vs-react-vs-vue-vs-flow-...
I've used Flow in 2016 and getting it to work on code editors was a huge pain. Coworkers asked me weekly how to fix their environment to get it to work.
In 2017 I introduced TS to the codebase and never looked back. It just works™.