News for hackers. Stuff that matters.
Re:TypeScript at Google by sheeshkebab on Sunday September 02, 2018 @09:06AM (#17896834)
What js in browser is missing is something that golang provided on the server - fast, simple (and more standard) way of writing and executing code, including large code bases.

Typesafety is a small part of it and I’m not sure whether switching or choosing entire dev tooling based on just that is worth it. Just structure your code better and use react prop types and most of type issues go away, in react code bases.

Re:TypeScript at Google by KeitIG on Sunday September 02, 2018 @09:36AM (#17896948)
Prop-types is for runtime, TS does static type checking. Prop-types are terribly verbose and only work with React (what about utils files, external libraries, etc?).