7 comments

[ 2.7 ms ] story [ 16.9 ms ] thread
@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™.

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.

I actually use JSX without React thanks to Typescript, I wrote an HTML builder myself (anybody can write one, it's easy) and it's quite handy since I don't have to rely on any framework/view library anymore.
You would want TypeScript, if you want to refactor even little bit of your code.