Remembers the specified value across renders and compares it against a stored value, which is returned. The stored value is only updated if the specified value really changes, using areEqual to compare.
areEqual
Remembers the specified value across renders and compares it against a stored value, which is returned. The stored value is only updated if the specified value really changes, using
areEqual
to compare.