React sometimes rerenders between two setStates, depending on setState order

后端 未结 0 629
猫巷女王i
猫巷女王i 2021-01-25 02:14

I\'ve got two simple useStates.

At one point, they\'re set, one after another. This happens within a useEffect with [] deps.

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