High-performance input handling on the web
https://nolanlawson.com/2019/08/11/high-performance-input-handling-on-the-web/ [nolanlawson.com]
2019-08-11 18:00
There is a class of UI performance problems that arise from the following situation: An input event is firing faster than the browser can paint frames.
In a previous post, I discussed Lodash’s debounce and throttle functions, which I find very useful for these kinds of situations. Recently however, I found a pattern I like even better, so I want to discuss that here.
Follow up: https://nolanlawson.com/2019/08/14/browsers-input-events-and-frame-throttling/
source: L