How to cause a rerender only if one object changes in a useSelector

后端 未结 0 918
自闭症患者
自闭症患者 2020-12-20 02:51

Got an issue where I have an object with multiple values in my state but I only need to listen to one for the change.

Example:

On first re-render I might see s

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