1 Matching Annotations
- Jul 2022
-
stackoverflow.com stackoverflow.com
-
React may batch multiple setState() calls into a single update for better performance.
so its not an actual race condition b/w two parallel instructions, but rather just a result of an optimisation performed by react
-