I am using a useEffect hook and I have a deeply nested object as one of the dependencies. I use a usePrevious hook and lodash _.IsEqual to check for changes in the object an