Reacting to TypeScript

Erick Delfin

Frontend Dev @ Nearsoft

TypeScript?

A superset of JavaScript that adds functionality like static type-checking, interfaces and classes.

Compiles to JavaScript.

What problem does TypeScript solve?

With run-time type validation

Good ole JavaScript

Compile-time dopeness

Use case

Why?

  • Structure
  • Scale
  • Real intellisense
  • Declaration files
  • Catch problems earlier

 

  • All JavaScript is valid TypeScript!

TypeScript is a great tool, but not the absolute truth.

It's still just JavaScript

React + TypeScript

  • JSX

Created using carbon.now.sh

Expressive components

More Work Up Front Means Less Work Later

More Work Up Front Means Less Work Later

"A place for everything, everything in its place."

- Benjamin Franklin

"Tools amplify your talent. The better your tools, and the better you know how to use them, the more productive you can be."

- Andrew Hunt, The Pragmatic Programmer

Copy of deck

By Nifled -

Copy of deck

  • 120