Closed as not planned
Description
- When should you use TypeScript with React instead of just JavaScript?
- How to declare styles for props in a React component?
- What is the difference between interface and type in TypeScript? Which one to use for props?
- How to define a functional component with TypeScript?
- How to declare types for useState, useReducer, useRef, useContext in React + TypeScript?
- How to style events in handlers like onClick, onChange, onSubmit...?
- How to use TypeScript utility types like Partial, Pick, Record, Omit in React?