Hacker News new | ask | show | jobs
by johntran 2869 days ago
@jamesknelson

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™.

2 comments

> 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...

Indeed I have seen more and more people adopt TypeScript for all kinds of JS projects.

It is one of the things I have noted to look into next too.