In React, what is the difference between onKeyUp and onKeyUpCapture (and onKeyDown/Capture)?
Event handlers in react passes an instances of SyntheticEvent, a cross-browser wrapper around the browser’s native event. The term capture is not related to React. In fact it’s a concept from DOM HTML Event. The are 3 general phases of event propagation DOM Events: The capture phase: The event object propagates through the target’s ancestors … Read more