So your code is complete. There is no problem with it. This is just how React functions. Any state changes in React are batched.
確定! 回上一頁