Provides a memoized value in React where the value is checked for deep
equality. If the value has changed, but is deeply equal to the previous
value, then useDeepMemo will return the same reference to the previous
value and ignore the latest value.
This is mainly used in shared queries to check for changes in the query
arguments, but it might be useful for your own use cases.
Provides a memoized value in React where the value is checked for deep equality. If the value has changed, but is deeply equal to the previous value, then useDeepMemo will return the same reference to the previous value and ignore the latest value.
This is mainly used in shared queries to check for changes in the query arguments, but it might be useful for your own use cases.