# typescript-cheatsheets/react

Cheatsheets for experienced React developers getting started with TypeScript

Repository: https://github.com/typescript-cheatsheets/react
Canonical: https://ross.abutalabs.com/products/typescript-cheatsheets-react
Homepage: https://react-typescript-cheatsheet.netlify.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, cheatsheet, react, guide
Last push: 2026-05-29T19:52:44+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 35, longevity 100
- inputs: {"age_days": 3014, "days_push": 96, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 47097, forks 4276 (observed 2026-08-28T04:12:11.171875+00:00)

## What it is
A community-maintained cheatsheet and documentation site for using TypeScript with React. It provides opinionated best practices and copy-pastable examples covering component props, hooks, forms, context, refs, and advanced generic type patterns.

## Use cases
- learn how to type React components in TypeScript
- find the right TypeScript types for React hooks like useState and useRef
- type forms and events in a React TypeScript app
- set up a new React project with TypeScript using Next.js or Remix
- learn advanced generic type patterns for reusable React libraries
- look up @types/react API references like ComponentProps and ReactNode

## When to choose
- you are an experienced React developer adopting TypeScript
- you need quick, copy-pastable examples for common React+TS patterns
- you want opinionated best practices rather than raw API docs
- you are writing a reusable React library and need advanced typing guidance

## When to avoid
- you are a complete beginner to React or TypeScript and need a full tutorial
- you need official exhaustive API documentation instead of a curated cheatsheet
- you use a framework other than React

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools
- domain: frontend, web-development, tutorials, developer-tools
- platform: -
- tags: react, typescript, cheatsheet, guide, reference, web, nodejs

## Member repositories
- typescript-cheatsheets/react (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:11.171875+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:21:10.422776+00:00, confidence not recorded.
  - readme: https://github.com/typescript-cheatsheets/react (fetched 2026-08-28T04:12:11.171875+00:00, sha 31e58e0dd88f)
  - homepage: https://react-typescript-cheatsheet.netlify.app (fetched 2026-08-29T07:45:01.566790+00:00, sha 4486ebc76679)
- Data as of 2026-08-30T08:39:29.467469+00:00.
