Holds the previous reference for as long as equals accepts the incoming value, so a value the
caller assembles inline keeps one identity across the caller's renders.
A render React discards can leave the ref holding the discarded value, which costs identity
stability on the next render but never correctness.
Holds the previous reference for as long as
equalsaccepts the incoming value, so a value the caller assembles inline keeps one identity across the caller's renders.A render React discards can leave the ref holding the discarded value, which costs identity stability on the next render but never correctness.