Batching state updates
If you have got an event handler, which results in multiple state update actions (for the same nested part of a state or different), React will batch state updates and will minimize rerendering natively.
If you have got an event handler, which results in multiple state update actions (for the same nested part of a state or different), React will batch state updates and will minimize rerendering natively.