by Sytten · 1y ago · 0 comments
https://css-tricks.com/debouncing-throttling-explained-examp...
This seems like a problem Sorhus should have a library for, but he does not.
I've had the conversation too many times in the last couple months about how setTimeout() does absolutely nothing to fix this problem in NodeJS. Even Java had trouble with this and tried to delete the API that seemed like it should support this problem, due to undefined behavior.