React call parent method from child (functional component), useState not updating in view

后端 未结 0 1222
臣服心动
臣服心动 2021-01-20 23:58

I\'m calling a method from a child component to the parent passed in via prop. Why doesn\'t the UI reflect the variable change with the {selectedQuizTitle} useState variable?

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