5 ms·
Zep.js: tiny event pipeline with auto-cleanup, debounce and AbortSignal
- markolb 13d agoLike most devs, I really dislike the boiler- plate plumbing that comes with handling events. Not simple click handlers, but the more "complex" stuff like debounced search, throttled scrolling or resize handlers, or requestAnimationFrame synchronization. Every single time, I find myself setting up loose let-variables, timers, and manual cleanup. I wanted to solve this with an ultra-lightweight, composable solution.