Posts tagged with #react

Fetching and Typing API Data in React

Model fetch loading and error states, validate unknown JSON at runtime, and cancel outdated requests before rendering typed React results.

JSX and the React Render Tree

Learn how JSX expressions, fragments, and React elements describe a UI, then follow that description through rendering with practical examples and pitfalls.

Linting, Formatting, and Type Checking in React Projects

Learn how ESLint, a formatter, and TypeScript checks catch different React code issues, with simple scripts for fast local feedback and CI.

React Lists, Stable Keys, and Conditional UI

Render arrays with map, choose stable keys that survive filtering, and show clear loading, empty, and error states in React interfaces.

Loading, Empty, Error, and Success States in React

Model async React UI states clearly with TypeScript, show empty results and retry actions, and prevent stale requests from replacing newer feedback.

Modern JavaScript Modules for React Projects

Learn how JavaScript modules organize React code with named and default exports, practical import patterns, common failure fixes, and build boundary tips.

Next.js and React Server Components

Learn the Next.js App Router boundary between Server and Client Components, how serializable props cross it, and when React learners are ready.

Production Builds and Deployment Basics for React

Learn what a React production build contains, how Vite handles client environment values and base paths, and how to release a static app safely.

React Props, Children, and Component Composition

Learn to pass data and callbacks through React props, use children for flexible layouts, and compose small components without building giant prop APIs.