Do functions not update React hooks (particularly setState) depending on how they are called?

前端 未结 0 1393
后悔当初
后悔当初 2021-02-01 08:39

I am trying to figure out why I have a function that can not read in a value from a setState hook. I now that the setState value of "questionIndex" is updating properl

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