React :How to change state inside callback?

前端 未结 0 1386
陌清茗
陌清茗 2021-01-14 14:49

As title.
What would I do to change state inside a callback function if I need to change state after I got some results from the back-end or files ,etc...? Like this:<

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