Use json for deep comparison
yarn add use-json-comparison
import useJSONComparison, { MediaQueryKey } from 'use-json-comparison';
useJSONComparison(() => {
// do something
}, any);
MIT
use json for deep comparison
Homepage Repository npm TypeScript Download
npm install use-json-comparison@1.0.0