| Angular is a mess but typescript is alive and kicking on its own, even with react. Personally I'm one of the apparently rare breeds that hate angular but loves typescript. I wish there were more of us. They're really in different realms and please don't make them part of the same whole. Typescript is a transpiler but the transforms it does are designed to mimic accepted JavaScript idioms. When I'm debugging typescript it makes sense, it looks almost like JavaScript written by somebody that knows what they're doing. Contrast that to Babel, Closure compiler, and countless others that produce "JavaScript" that reads more like assembler. Typescript is easy to make back into human readable JS and it's equally easy to slowly transform your JavaScript into typescript. It's the most forward and backward compatible language transformer I've ran across so I don't appreciate you shitting on it :) |
TypeScript is an invaluable, mature technology that provides large productivity boosts to any team that maintains a mid-sized code base.
It plays extremely well with React too, and it's benefits are independent of the tech stack. If you are used to typed components/templates, you will NEVER want to go back.
I would argue that is more important to have static typing in the front-end compared to the back-end in a web-application context. There is more state, lot's of shared entities and unit tests are expensive to write and maintain.