Skip to content
← All Tags

#react

2 posts tagged with "react"

Cache Components changed how I think about a page

Next.js 16 replaced the route level caching knobs with one directive, and 16.3 extended it to the client for instant navigations. I migrated a content site and a dashboard. One of them got faster with almost no work. The other forced me to admit what a 'page' had been hiding all along.

9 min readRead more →

I deleted every useMemo and nothing happened

The React Compiler is stable, on by default in new Next.js apps, and it makes most manual memoization redundant. I removed 212 useMemo and useCallback calls from a production app to find out whether that was true. It was, with four exceptions, and the exceptions say something about what those hooks were actually doing.

8 min readRead more →