React

TypeScript supports JSX and can correctly model the patterns used in React codebases like useState.

Getting Set Up With a React Project

Today there are many frameworks which support TypeScript out of the box:

All of these are great starting points. We use Gatsby with TypeScript for this website, so that can also be a useful reference implementation.

Documentation

Here are some of the best places to find up-to-date information on React and TypeScript:

The TypeScript docs are an open source project. Help us improve these pages by sending a Pull Request

Contributors to this page:
DRDaniel Rosenwasser  (60)
OTOrta Therox  (15)
AKAlexander Kjäll  (2)
AMAndrew Medworth  (1)
EBEli Barzilay  (1)
13+

Last updated: Mar 27, 2024