React state management in 2025

#525 – September 28, 2025

What you actually need

React state management in 2025: What you actually need
24 minutes by Nadia Makarevich

Nadia shares her opinion on how to manage state in modern React apps, what is remote, URL, local, and shared state, and when you actually need a state management library.

Tests are dead. Meticulous AI is here.
sponsored by Meticulous

Meticulous automatically creates and maintains an exhaustive e2e UI test suite that covers every corner of your application – with no developer intervention required whatsoever. Dropbox, Lattice, Bilt Rewards and hundreds of organisations rely on Meticulous for their frontend testing. It is built from the Chromium level up with a deterministic scheduling engine – making it the only testing tool that eliminates flakes.

What Elm taught me about React's useReducer
7 minutes by Christian Ekrem

Learning Elm's strict compiler rules can make you a better React developer. Elm forces you to handle every possible state change and prevents common mistakes that React allows. After using Elm, Christian argues he wrote cleaner React code by avoiding default cases in reducers, using proper TypeScript types, and isolating side effects in custom hooks.

How to leverage React router's built-in data deduplication
5 minutes by Sergio Xalambrí

React Router has a hidden feature that prevents duplicate data when combining promises. When you use Promise.all() to merge independent promises, the framework sends shared data using references instead of copying the actual values. This means if two promises return the same data, React Router transmits it once and uses pointers for subsequent references. The optimization works automatically without requiring code changes, making data loading more efficient for complex web applications. Sergio explores this with a practical example.

Parallel and recursive route rendering
11 minutes by Ryan Toronto

RSC routers use a clever technique to avoid slow waterfalls where each route waits for its parent to finish loading. Instead of rendering routes in a nested tree, they render all routes in parallel on the server as a flat list. The server creates a stack of rendered components with placeholder children. On the client, a recursive component pops items from the stack and replaces placeholders with actual content, rebuilding the nested structure without the delays.

Creating an immersive 3D weather visualization with React three fiber
19 minutes by Carter Rink

Carter shows how to build a 3D weather app using React Three Fiber and real weather data. The system creates interactive scenes with sun, rain, snow, and storms based on current conditions. It uses instanced rendering for thousands of particles and conditional components that only load needed effects. The app includes forecast portals where users can click to explore future weather in 3D environments.

webdev

javascript

And the most popular article from the last issue was:

newsletters