React Native - Hooks - useState from Child only triggers if useState from Parent doesn't change

前端 未结 0 795
故里飘歌
故里飘歌 2020-12-25 10:01

I\'m having an issue with a React Native project where I have a child component that toggles a boolean with useState, but I\'m also changing a state in the parent component

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