Auto-canceling, leak-free event pipelines in 320 bytes JS. Zero dependencies. - marsbos/zep
1 comment
markolb10 days ago
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.
Read the full thread on Hacker News →
Related stories
- Hacker News · 2 points · 1 day ago
- Lobsters · 2 points · about 9 years ago
- DEV Community · 5 points · 10 days ago
- Lobsters · 5 points · over 10 years ago
- Hacker News · 1 points · 4 days ago
- Auto approve pull requests with Jevgithub.comHacker News · 2 points · 11 days ago