How to pass react props/state of parent by reference, not value?

后端 未结 0 950
迷失自我
迷失自我 2021-01-26 02:10

I am using react hooks and attempting to pass the state of a parent to multiple components. The problem is when the components which I want to pass the state to are themselves p

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