React, can't set state based on current state(state one step behind)

前端 未结 0 642
清酒与你
清酒与你 2020-12-17 21:39

I\'m absolutely lost with React async setState :(

codesandbox

Here\'s what I\'m trying to achieve: when I click operator button (App.js line 81-98) , I take cu

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