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

Taught in

References