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 support added to Create React App

280 pointsby mattwoodnycover 6 years ago

7 comments

netcraftover 6 years ago
offtopic, but I'm in the middle of trying to convince my small team to pick up typescript for a new significant node backend for our company. It seems like a no-brainer from my perspective. Compilation is fast, we would use `strict` but would allow devs to default to `any` if the types got too hard. There are no downsides but so many upsides - better refactoring, intellisense, documentation, communication of interfaces, protection against the javascript and library minefields. Glad to see there are lots of other people thinking this is valuable - wish I could figure out the right way to convince my team.
评论 #18280522 未加载
评论 #18279893 未加载
评论 #18281259 未加载
评论 #18280295 未加载
评论 #18280035 未加载
评论 #18279608 未加载
评论 #18280916 未加载
评论 #18279665 未加载
评论 #18280460 未加载
评论 #18281221 未加载
评论 #18283709 未加载
评论 #18280555 未加载
评论 #18281585 未加载
评论 #18279663 未加载
davidjnelsonover 6 years ago
Diff of the pull request: <a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;create-react-app&#x2F;pull&#x2F;4837&#x2F;commits&#x2F;506d1734e02823ad8094ede96a9aa4110381e586" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;create-react-app&#x2F;pull&#x2F;4837&#x2F;commi...</a>
评论 #18279903 未加载
markatkinsonover 6 years ago
This is awesome. I recently moved from Typescript to plain Javascript for a project and it is quite frustrating.<p>You don&#x27;t realise what you had till it&#x27;s gone!
评论 #18282318 未加载
评论 #18280972 未加载
karmakazeover 6 years ago
BTW, anyone here used ReastReason, BuckleScript is it? I&#x27;ve been meaning to look into it but don&#x27;t have a sense of the payoff. I read that it can coexist which is a great feature. Wonder how it compares to a TypeScript workflow.
评论 #18280233 未加载
评论 #18280941 未加载
评论 #18279884 未加载
评论 #18280865 未加载
评论 #18280204 未加载
solidr53over 6 years ago
Pretty much just file extension support and docs. The support mainly comes from Babel 7.
评论 #18279429 未加载
评论 #18279916 未加载
评论 #18292129 未加载
chris_stover 6 years ago
I&#x27;d love to use TypeScript, but I&#x27;ve hit walls of errors that are nearly as bad as the old C++ template errors! (Though to be fair, this was a while ago, the compiler may have improved).<p>SO: Any <i>good</i> way to learn TypeScript, particularly the more complicated types?
评论 #18280140 未加载
评论 #18280161 未加载
评论 #18290721 未加载
matchbokover 6 years ago
Great to see. Any javascript project of reasonable size quickly eventually collapses under its own weight.
评论 #18280069 未加载