|
|
|
|
|
by syberspace
3231 days ago
|
|
But wouldn't a developer who is surprised by performance penalties caused by empty scroll event handlers also not use passive listeners? The point of passive listeners would be to make it easier for developers to not accidentally write shitty code and boost performance on well written code that doesn't have to be blocking the scroll. |
|
1. https://developers.google.com/web/updates/images/2016/10/avo...
2. https://github.com/search?utf8=%E2%9C%93&q=non-passive+event...