|
|
|
|
|
by Our_Benefactors
250 days ago
|
|
> I can put that in a useMemo and it won't sort it again when the page eventually rerenders for some reason useMemo dependency smell. This is almost always because your dependencies are wrong. This can often happen if you put a dependency as [object] instead of [object.field] due to how JavaScript maps objects to memory. |
|