Glossary coding Term Page
Passive listener
An `addEventListener` option `{ passive: true }` that lets the browser optimize scroll-lik
Core Idea
Passive listener is An addEventListener option { passive: true } that lets the browser optimize scroll-like events because it knows you won't call preventDefault(). It usually makes the most sense alongside Microtask, Debounce, Throttle.
Why It Matters Here
Mathbong reuses this term across javascript posts as shared vocabulary.