useDeepMemo() in Refine source code.
In this article, we will review a function named useDeepMemo found in Refine source code.
const queryClient = useDeepMemo(() => {
if (reactQueryWithDefaults.clientConfig instanceof QueryClient) {
return reactQueryWithDefaults.clientConfig;
...
thinkthroo.com2 min read