How React Optimizes Multiple State Updates Understanding React Batching

How React Optimizes Multiple State Updates Understanding React Batching