Question d’entretien chez EY

Why does React batch state updates?