TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

TypeScript is nearly half as popular as JavaScript for React apps

33 pointsby jamesknelsonalmost 7 years ago

3 comments

johntranalmost 7 years ago
@jamesknelson<p>Also worth mentioning that TS npm download is greater than React consistently.<p><a href="http:&#x2F;&#x2F;www.npmtrends.com&#x2F;typescript-vs-react-vs-vue-vs-flow-bin" rel="nofollow">http:&#x2F;&#x2F;www.npmtrends.com&#x2F;typescript-vs-react-vs-vue-vs-flow-...</a><p>I&#x27;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.<p>In 2017 I introduced TS to the codebase and never looked back. It just works™.
评论 #17723208 未加载
评论 #17722037 未加载
serguzestalmost 7 years ago
You would want TypeScript, if you want to refactor even little bit of your code.
nostalgeekalmost 7 years ago
I actually use JSX without React thanks to Typescript, I wrote an HTML builder myself (anybody can write one, it&#x27;s easy) and it&#x27;s quite handy since I don&#x27;t have to rely on any framework&#x2F;view library anymore.
评论 #17723371 未加载