Tag
react
8 articles tagged with “react”
React 19 Hooks: The Modern Mental Model in the Compiler Era
A 2026 hooks refresher under React 19 and the React Compiler — what to write, what to delete, and the use(), useActionState, and useFormStatus APIs that change everything.
React Fiber Explained: Lanes, Phases, and Why Your Renders Behave That Way
A working mental model for React Fiber — render vs commit phase, the Lane priority model, automatic batching, useTransition, and useDeferredValue.
React Server Components in Next.js 16: The Boundary Mental Model
Server Components vs Client Components vs SSR — what runs where, how the boundary works, and the React 19 + Next.js 16 patterns for forms, mutations, and streaming.
React State Management in 2026: A Decision Tree, Not a Religion
Server data, URL state, local state, and global stores — when to use Zustand vs Jotai vs Context vs Redux, and why most state belongs nowhere near a global store.
TanStack Query v5: Server-Cache State Done Right
Query keys, staleTime vs gcTime, useSuspenseQuery, optimistic updates with rollback, and how to compose React Query with Next.js 16 Server Components.
ReAct Prompting: Reasoning and Acting in LLM Agents
The Thought → Action → Observation loop that lets LLMs use tools, verify intermediate steps, and self-correct — the pattern behind most modern AI agents.
Designing Reliable Planning Loops
Build reliable thought-action-observation cycles that let agents decompose complex goals into executable steps without going off-track.
Agent Design Patterns: Start One Rung Lower
Prompt chaining, routing, orchestrator-workers, ReAct, plan-and-execute, reflection and tree search: what each costs, what the research shows, and when to climb to the next one.