You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume this happens because React batches two state updates and because in the end state stays the same (true -> false -> true) rerender doesn't happen at all.
The text was updated successfully, but these errors were encountered:
Here is codesandbox with example:
https://codesandbox.io/s/tender-noether-cnvrz
I assume this happens because React batches two state updates and because in the end state stays the same (true -> false -> true) rerender doesn't happen at all.
The text was updated successfully, but these errors were encountered: