Events in depth
Master event propagation and input events.
- WEB.03.01Capture, target and bubble phasesCoreJuniorBeing written
- WEB.03.02Event delegation at scaleCoreJuniorBeing written
- WEB.03.03Pointer, keyboard, focus and input eventsMid-levelBeing written
- WEB.03.04Custom events and passive listenersMid-levelBeing written
Interview questions in this module
- Explain event bubbling and capturing.
- What is the difference between
stopPropagationandpreventDefault? - What is a passive event listener and why does it help scrolling?
- Which events do not bubble?
- Is
dispatchEventsynchronous or asynchronous? - How does React handle events under the hood?