4 ms·
Mmmm, no kidding. Stateless functional components are the absolute bomb from a “reasoning about your code” perspective. FWIW I’ve found the most prosuctive fro
by matthewmacleod 8y ago
Mmmm, no kidding. Stateless functional components are the absolute bomb from a “reasoning about your code” perspective.
FWIW I’ve found the most prosuctive front-end combination to be React + Typescript, which has the benefit of being seamlessly interoperable with JavaScript, really excellent at capturing common errors, and allowing the type system to be exploited for much more expressive code. YMMV of course.
- k__ 8y agoI tried Flow with VSCode and found it rather flaky. Had to open up files to get autocomplete etc. Is TypeScript better in that regard?
- lol768 8y ago> I tried Flow with VSCode and found it rather flaky. Had to open up files to get autocomplete etc. Sounds like an editor issue. Have you tried it with something like IDEA/WebStorm where there's a bit more code intelligence?
- matthewmacleod 8y agoI’ve had no problems with Typescript in that regard (in fact the typechecking and linting is astonishingly fast) but I’m using Sublime integration. From what I understand though, VSCode has very thorough Typescript support, given its Microsoft pedigree and all.