Hacker News new | ask | show | jobs
by dizzy3gg 2749 days ago
Building an app with react native at the moment, the team uses VSCode & WebStorm. Why would TypeScript be the deciding factor?
3 comments

With a strongly typed codebase. VSC will advise with red squiggles straight away if a value gets a different type.

But it is another tool for large codebases that requires more work, like tests. If it's a small web project, it's probably overkill.

I’m not questioning typed JS, 100% behind that, we regrettably use flow, partly because React Native Typescript support wasn’t great (so I am told). I guess I should have asked if FB recommended TS over flow nowadays
VSCode is in particular great at TypeScript, in part because it's a Microsoft language and Microsoft IDE.
VSCode is also written in Typescript. I believe the teams work closely to ensure that new versions of TS are supported right away, and features are added to take advantage of them.