event pooling
An old React optimisation, removed in React 17, that reused one event object for many events and cleared it after each handler.
In more detail
With pooling, reading an event inside a timeout or promise returned empty values unless you called e.persist(). Modern React creates a fresh event object each time, so this problem no longer exists.
Related terms
- SyntheticEvent — The event object React passes to your handlers, a wrapper around the browser native event that behaves the same in every browser.
Taught in
- SyntheticEvent System: Event Delegation in Modern React — React 19 & Modern Component Architecture