// Posts (Page 10)

Nullable and Unknown Data in TypeScript Interfaces

Learn to model optional and nullable fields, narrow unknown values, and safely parse API or storage data in React with strict TypeScript checks.

Objects, Arrays, and Interfaces in TypeScript

Learn how TypeScript models objects and arrays, when to use interfaces, and how to type React props while keeping untrusted runtime data safe.

Type Inference and Annotations in TypeScript

Learn how TypeScript infers values and when annotations help in React props and event handlers, with practical examples, pitfalls, and runtime safety notes.

Union Types and Narrowing for React UI States

Learn how TypeScript union types model React loading, success, and error states, with discriminated unions, safe narrowing, and practical failure handling.

Capstone: Build a Typed React Task Tracker

Build a React task tracker with typed filters, accessible forms, versioned local storage, migration recovery, and a behavior test.