Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TS + React: Small guide📖

TS + React: Small guide📖

A Small Guide to use TypeScript with React.

Abner Soares Alves Junior

September 27, 2018
Tweet

More Decks by Abner Soares Alves Junior

Other Decks in Programming

Transcript

  1. What is TS? • Typed superset of JavaScript • Compiles

    to plain JavaScript • Open Source • Developed by Microsoft 9
  2. Why use it 12 Tooling and Community Team and code

    scalability Strict Null Checking Help avoiding issues in runtime
  3. 17 Installing react and react types npm install --save react

    react-dom @types/react @types/react-dom
  4. 18 Installing TS and TS loader npm install --save-dev typescript

    awesome-typescript-loader source-map-loader