react: How to change the state of a child component(function component, not class component) from its parent?

后端 未结 0 1570
滥情空心
滥情空心 2021-01-20 21:54

I can change the state of child component which is class componet by ref,but how can I change the function child compment?

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