Articles · Tag
Tagged React.
13 articles on this topic.
- 4 min
Less useEffect: data fetching in modern React
Why useEffect-based fetch became a default, what breaks (Strict Mode, stale closures, waterfalls), and how Server Components, route loaders, and TanStack Query each fit different constraints.
- React
- Next.js
- 2 min
Zustand for client state (and hydrating from the server)
When a small store beats Context, slices and middleware, persist middleware caveats, and passing initial state from RSC without duplicate fetches.
- React
- TypeScript
- State management
- 3 min
Storybook for documentation and interaction tests
Composition patterns, play functions with Testing Library, accessibility addon workflows, visual regression options, and how Storybook fits CI for design systems.
- React
- Testing
- Design Systems
- 3 min
Using the Fetch API in JavaScript
Beyond GET: JSON bodies, headers, credentials, CORS, cancellation with AbortController, streaming responses, and how Next.js extends fetch with caching controls.
- Next.js
- React
- Markdown