EY interview question

Why does React batch state updates?