Hasan Adnan
Results
2
comments of
Hasan Adnan
From the current docs it looks like this pitfall is already covered, but maybe not under the “non-primitive” wording. useEffect compares each dependency with its previous value using Object.is, so...
Thanks for following up and for revising the PR — much appreciated. I agree that the underlying behavior is already correctly described in the current docs (via Object.is comparisons and...