If you want to access the event properties in an asynchronous way, call this on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code.
If you want to access the event properties in an asynchronous way, call this on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code.
Stops the default action of an element from happening.
Stops the default action of an element from happening. For example: Prevent a submit button from submitting a form Prevent a link from following the URL
Stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.
Stops the bubbling of an event to parent elements, preventing any parent event handlers from being executed.
https://github.com/facebook/react/blob/master/packages/react-dom/src/events/SyntheticTransitionEvent.js