4 ms·
Actually wanting events to bubble past a handler is rare enough that I sometimes just through e.stopPropagation() in without thinking too much about it. It's mu
by pcthrowaway 4y ago
Actually wanting events to bubble past a handler is rare enough that I sometimes just through e.stopPropagation() in without thinking too much about it. It's much more common to be bitten by allowing events to continue bubbling IMO
- eyelidlessness 4y agoIt’s less of a concern for most application devs than it used to be, but still a very widely used technique in libraries/frameworks, because it provides a huge performance boost and vastly simplifies those use cases.