Await useState update in React?

前端 未结 0 1844
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-01 18:31

In React can you await the update from useState?

EG here I would like a to be updated with the new text, and after that has completed then <

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