React Component Patterns
Refs and the DOM
I don't know if this is covered, but where does this line even come from?
I'm not sure where currentTarget.reset() is being defined. Is it a part of the React library?
The currentTarget read-only property of the Event interface identifies the current target for the event,
as the event traverses the DOM.
It always refers to the element to which the event handler has been attached,
as opposed to Event.target,
which identifies the element on which the event occurred.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.
I forgot my password