React v18 features: Batch updates
Introduction to React v18 automatic batch updates and flushSync
In this lesson, we are going to explore how React batch update feature works and how we can opt out of it.
If you haven’t read my previous article about React 18 Suspense, then please do so. In this…