Static type-checking via tools like TypeScript or Flow can help reveal implementation errors before the app goes down. This presentation looks at what these tools are—and aren't—and how you can use them to build safer, saner React applications.
discourages or prevents type errors” > const sayHello = "I'm a string."; > sayHello(); TypeError: sayHello is not a function (https://en.wikipedia.org/wiki/Type_safety)