π’ We're finally looking to ship Observables in Chrome!! It's been a long time comingβmany thanks to all in the community for the great feedback and help along the way!!
Especially @benlesh.bsky.social, @keithamus.social, @domenic.me, @jordan.har.band & more! π
groups.google.com/a/chromium.o...
21.02.2025 21:41
π 117
π 24
π¬ 4
π 6
Maybe it's possible that the `display:none` setter script can run after this microtask (i.e., the decision to lazy load) runs tho?
We could make the test more explicit by creating the image in script, and setting `display: none` synchronously after creation. Then add it to the DOM.
14.02.2025 21:35
π 3
π 0
π¬ 1
π 0
HTML Standard
I don't think it's flaky bc the decision to lazyload (html.spec.whatwg.org#updating-the...) is made *after* this microtask (html.spec.whatwg.org#updating-the...) runs during loading. And I think the script where we set `display:none` always runs before this decision is made. Does that make sense?
14.02.2025 21:33
π 1
π 0
π¬ 1
π 0
GitHub - WICG/observable: Observable API proposal
Observable API proposal. Contribute to WICG/observable development by creating an account on GitHub.
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
28.01.2025 22:14
π 12
π 5
π¬ 1
π 0
We're shipping the new `Node#moveBefore()` API in Chrome 133! Read more in our latest blog post: developer.chrome.com/blog/movebef...
Huge thx to @nomster.bsky.social for help bringing this to life, frameworks that helped test it, and the spec ecosystem for working with us to get it standardized!
21.01.2025 21:17
π 34
π 10
π¬ 2
π 1
From what?!! Any obvious event that could've led to that?
28.07.2023 18:18
π 0
π 0
π¬ 1
π 0
GitHub - domfarolino/observable: Observable API proposal
Observable API proposal. Contribute to domfarolino/observable development by creating an account on GitHub.
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!
28.07.2023 14:29
π 5
π 1
π¬ 1
π 1
Do you think itβs a defense mechanism so they can preemptively avoid getting βcalled outβ for using AI art (some see it as cheating), or more so people are trying to subtly flash that theyβre on the new trend of using AI art?
26.05.2023 01:02
π 0
π 0
π¬ 1
π 0
Ooh Substack allows you claim your subdomain as a Bluesky handle via some auto DNS magic which is pretty cool!
25.05.2023 22:58
π 2
π 1
π¬ 0
π 0
If you know what an API is but you've never heard of an *ABI*, fear no more! Check out this post I just wrote; it explains the difference in a super easy-to-follow way: https://dom.substack.com/p/apis-abis-and-shared-libraries
25.05.2023 19:10
π 0
π 0
π¬ 0
π 0
πͺβ³ Big milestone on the way to deprecating third-party cookies as we gear up to ship multiple Privacy Sandbox APIs in Chrome 115! We've got APIs, enrolling sites, Chrome testing modes *and* 1% third-party cookie deprecation from 2024 ‡
https://developer.chrome.com/blog/shipping-privacy-sandbox/
18.05.2023 13:46
π 2
π 3
π¬ 1
π 0
Too real
16.05.2023 13:18
π 1
π 0
π¬ 0
π 0
Tuscaniniβs in Boston/Cambridge is fantastic.
11.05.2023 19:00
π 0
π 0
π¬ 0
π 0
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!
09.05.2023 21:39
π 0
π 0
π¬ 0
π 0
This makes me fearful of using what little Japanese I do know anywhere ever lmao
04.05.2023 12:10
π 1
π 0
π¬ 1
π 0
I always forget which of my repos have gh-pages enabled, so I built a tiny app that shows you (+ for the people you follow). You can find some cool, forgotten-about projects with it, give it a shot!
https://gh-pages.glitch.me/
03.05.2023 12:05
π 0
π 1
π¬ 0
π 0