React JS Quiz
HomeBlogPrivacy PolicyContact UsTutorialsNewBuy me a coffee

React with TypeScript

  1. 1.Typing Props
  2. 2.Typing Hooks
  3. 3.Typing Events and Refs
  4. 4.Generic Components and Practices
  5. 🏁 End-of-tutorial quiz
Advertisement
Tutorials/Advanced/React with TypeScript

React with TypeScript

Type props, children, events, hooks and refs the way experienced React teams do, and learn which patterns to avoid.

Level
Advanced
Chapters
4
Exercises
1
Reading time
16 min
Start the tutorial →

What you will cover

  1. 1. Typing PropsThe base patterns for component props, including children.
  2. 2. Typing HooksWhere inference is enough and where you need to help it.
  3. 3. Typing Events and RefsGetting handler and DOM types right without fighting the compiler.
  4. 4. Generic Components and PracticesComponents that adapt to their data, and the habits worth keeping.
Already know this? Jump to the 8 question quiz →

Up next after this one: Testing React Components

Advertisement
Advertisement
Support the developer