Reputation:
I know that a synthetic event is for example, onClick={handlerFunction}
The question is to understand React batching.
Upvotes: 0
Views: 130
Reputation: 944076
An Event is an API for describing "things that happen" (like clicks).
A native event is one the browser creates.
A synthetic event is a compatibility API that React generates around native events to normalise differences between browsers.
Upvotes: 2