When is useMemo a foot-gun?
Memoizing trivial computations costs more than it saves — React still has to compare deps. Reach for useMemo only when (a) the computation is genuinely expensive or (b) the referential identity matters for a downstream useEffect / memoized child.