Back to notes

Note

Bypassing React.memo with composition

January 8, 2026

Composition often solves the same re-render problem with less fragility than memo wrappers.

React.memo can reduce work, but it also makes performance depend on prop stability in places where the component model may already be too coupled.

If a parent owns too much state, splitting responsibility into smaller composed boundaries usually removes more render pressure than adding comparison logic afterward.

Rule of thumb

Reach for composition first. Memoization gets more useful once component ownership is already clean.