Introducing TypeScript (with a section on JSX)
Since I am getting more and more advanced, it was time to take a look into Typescript. Not because of the simple linting of JavaScript code, but rather because of the static typing concept. This article provides an introduction.
In order to provide a...
hashnode.com
I switched to TypeScript back when it moved to 2.0 and I have never looked back. I always advice people to give it a go for a project and see what they think. With React I feel like it gives so much more because of injected types, styling types with JSS, state typing, and even typing properties.
100% if my code compiles it works. It might now always work the way I wanted but that is on me. I would say with TypeScript my productivity has skyrocketed and my code quality compared to a year ago is astounding. I love when I see a project on npm made in Typescript because to me that means they are ready for constant improvement. Also I get to use their types as well.