This means that the SyntheticEvent object would be reused and all properties would be nullified after the event handler has been called. For example, earlier this would not work:
Nothing! e.persist() was used in Event Pooling but with React 17, Event Pooling has been completely removed.
An object this.refs which is found as an instance inside the component can be used to access DOM elements in ReactJs.
We should not update the state directly because of the following reasons: