Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: useEffect
Why Frontend Is Hard After React: State, Effects, Boundaries and AI Tools
React made UIs easier to build, not easier to design. Where state lives, tangled effects, system boundaries and AI-generated code are the real frontend work.
9 min readStop defaulting to useEffect for every React problem
useEffect is for syncing with external systems. Derive values during render, handle clicks in events and fetch with real data tools instead of effects in React.
6 min readWhat useEffect Fetching Costs You and What TanStack Query Changes
Why effect-based data fetching leads to duplicate requests, boilerplate and stale closures in React, and how TanStack Query's keys, staleTime and invalidation fix them.
6 min readCancelling Superseded Work in React: AbortController for Track Switching
Learn why skipped tracks and stale queries keep writing to your UI, how AbortController cancels the real request, and how it complements debounce and throttle in React.
8 min readDoes This Hook Earn Its Place? Ten Review Questions for React Code
Learn ten concrete review questions that catch redundant state, stale effects, render loops, needless memoization and oversized components in React Hook code.
6 min readAuditing useEffect: Ten Common Bugs, Their Symptoms and Real Fixes
Recognize the ten most common useEffect mistakes in React, from missing cleanup and stale closures to race conditions and prop syncing, and apply the right fix.
8 min readReact Fragments and StrictMode: Leaner Markup and Earlier Bug Detection
Learn how React Fragments group elements without extra DOM wrappers and how StrictMode's development-only double invocation exposes impure renders and effects.
4 min readBuild a Toy useState to Understand Snapshots, Queues and Effects
Learn how React hooks behave by building a tiny useState, then use that model to explain update queues, stale snapshots, closures, effect cleanup, refs and batching.
14 min readRetiring the Latest-Value Ref: Effect Events with useEffectEvent
Learn how useEffectEvent in React 19.2 separates non-reactive logic from an effect, removes latest-value ref hacks, and when the hook is the wrong tool.
4 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.