#React
6 articles tagged "react".
React State Management: useState, useReducer, and When You Actually Need a Library
Most React apps reach for a state management library long before they need one. Here's what useState and useReducer actually cover, and the honest signal for when it's time to add something more.
Getting Started with the Next.js App Router
A reference guide to the Next.js App Router: file conventions, layouts, and data fetching.
Next.js Rendering Strategies: SSG, SSR, ISR, and Static Export Compared
Next.js supports several fundamentally different ways to render a page — what each one actually means for when HTML is generated, and how to pick correctly for a given route.
Next.js Middleware: What It's For and When to Avoid It
Middleware runs before every matching request — that makes it powerful for auth and redirects, and easy to misuse for things that belong in a page instead.
React useEffect Cleanup: A Practical Guide
When and why to return a cleanup function from useEffect, with real examples of the bugs it prevents — subscriptions, timers, and stale event listeners.
React Server Components Explained: What They Are and When to Use Them
A practical, no-hype breakdown of React Server Components — what problem they solve, how they differ from Client Components, and when you actually need them.
Explore other topics
Want more like this?
Join developers getting our best tutorials weekly.