Hacker News new | ask | show | jobs
by sophiebits 2745 days ago
I think people on our team use VSCode, Sublime Text, and Vim. Almost all editors these days have good support for React, so we don't have any official one (nor do we feel the need to).

VSCode has particularly good integration with TypeScript, so perhaps choose it if you are otherwise undecided.

2 comments

Thanks for sharing. Curious if Nuclide is omitted because it's a given, or isn't used much internally now (https://mobile.twitter.com/amasad/status/1072930703065501696)
Building an app with react native at the moment, the team uses VSCode & WebStorm. Why would TypeScript be the deciding factor?
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.