News for hackers. Stuff that matters.
Re:Zep.js: tiny event pipeline with auto-cleanup, debounce a... by markolb on Monday September 21, 2026 @06:19AM (#49785344)
Like 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.