React useEffect hook, is there a point of having dependencies when a dependency is a deeply nested object

前端 未结 0 398
天命终不由人
天命终不由人 2021-01-15 03:40

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题