The useless useCallback

#517 – August 03, 2025

memoization is only useful in two scenarios

The useless useCallback
8 minutes by Dominik Dorfmeister

Dominik discusses the often pointless use of useCallback and useMemo in React. He argues that memoization is only useful in two scenarios: performance optimization when passing values to memoized components, and preventing effects from running too frequently.

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.

React and D3
13 minutes by Amelia Wattenberger

These two technologies are notoriously tricky to combine. The crux of the issue is that they both want to handle the DOM.

How toHandle deferred data in React Router
2 minutes by Sergio Xalambrí

If you're using React Router v7 you may not know you can return pending promises from loaders instead of awaiting them in your loader. This allows you to handle loading states directly in your components, useful for slow data fetching scenarios, or in case you want the user to navigate instantly to the page while the data is still loading.

How Parcel bundles React Server Components
14 minutes by Devon Govett

Parcel v2.14.0 added support for React Server Components. The release blog post and documentation describe what RSCs are and how to use them with Parcel. Devon dives deep into the internals. He describes how RSCs integrate with a bundler, what directives like "use client" do internally, how code splitting works or how RSCs improve it.

Let's write React hooks from scratch
3 minutes by Corbin Crutchley

Corbin explains how React hooks persist state in function components by using a linked list data structure tied to the virtual DOM. He reveals that each component maintains its hooks in order and explains why hooks can't be called conditionally.

webdev

javascript

And the most popular article from the last issue was:

newsletters