React child function not updating father hook state

前端 未结 0 460
太阳男子
太阳男子 2021-01-13 11:31

Problem is that currentTestData is not updating the first time I click on button to activate changeTest. I get initial empty values. The second time I click I get previous v

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