Dominic Farolino

Dominic Farolino

@domfarolino.com

Google Chrome engineer trying to simplify the web platform. https://domfarolino.com

309 followers38 following13 posts

Dominic Farolino reposted

Escape from event listener callback hell! 🌋 Observables are nearly here! el.when('mousemove') .takeUntil(document.on('mouseup')) .subscribe({next: e => … }); Clean: takeUntil handles cleanup Declarative & concise Efficient: No event handling after mouse released tinyurl.com/yc3rxxtz

tinyurl.comGitHub - WICG/observable: Observable API proposalObservable API proposal. Contribute to WICG/observable development by creating an account on GitHub.

Dominic Farolino reposted

Observables are to event subscriptions as promises are to callbacks: first-class objects you can transform, pass around, and build on top of. @domfarolino.com and @benlesh.bsky.social are looking to make them a standard part of the web platform, and I'm optimistic about their chances!

github.comGitHub - domfarolino/observable: Observable API proposalObservable API proposal. Contribute to domfarolino/observable development by creating an account on GitHub.

Through some wrangling & persistence I was able to secure dom.substack.com and I'll be starting a new low-traffic technical blog kinda thing. I have some drafts about event-driven programming, TikTok & the Web Platform, and tricky binary compatibility stuff. Feel free to sign up!

You are up to date.