I deleted every useMemo and nothing happened
The React Compiler is stable, on by default in new Next.js apps, and supposed to make most manual memoization redundant. I removed 212 useMemo and useCallback calls from a production app to see if that was true. It was, with four exceptions, and the exceptions show what those hooks were really doing.
reactperformancefrontend+1 more
8 min read10 min listen