Reposted by Jake Archibald
ICYMI: In the most recent OTMT podcast episode, @jakearchibald.com and I talk about putting React in the browser.
While that’s good clickbait, the episode is about about past and present platform proposals that aim to help frameworks with managing the DOM.
offthemainthread.tech/episode/putt...
0 replies
1 reposts
4 likes
We use self-closing syntax in HTML where it doesn't do anything. People see it and assume it does something.
Why do we keep doing this to ourselves?
www.reddit.com/r/webdev/com...
1 replies
2 reposts
5 likes
Yeah, I considered it, but it just didn't seem like it mattered
0 replies
0 reposts
0 likes
📝 HTML attributes vs DOM properties.
They're completely different, but often coupled.
Here's the difference, and why it matters: jakearchibald.com/2024/attribu...
3 replies
3 reposts
15 likes
🧶 What would it mean to "put React in the browser"?
Can something like element.replaceHTML(html) be added to the platform to perform diffing and update the DOM?
Me and @surma.dev talk it through: offthemainthread.tech/episode/putt...
0 replies
1 reposts
4 likes
🧶 ICYMI, here's the latest episode of OTMT, where me and @surma.dev chat about service worker static routes, and whether it's ever ok to throw away most of the web platform and do everything in <canvas>.
Listen here: offthemainthread.tech/episode/canv...
1 replies
1 reposts
6 likes
Ok, so if `display: block` makes the thing full width, `block-size` will change the width.
lol no guess again!
1 replies
0 reposts
3 likes
I get it. I get the whole point of it. But CSS logical properties are so confusing. Even after reading the first two paragraphs of developer.mozilla.org/en-US/docs/W... I'm left thinking ENOUGH WITH THE FUCKIN RIDDLES.
3 replies
1 reposts
7 likes
The only recent spec activity on this is a `headinglevelstart` attribute which can be set to a number. I proposed an 'auto' value for this, but it was dismissed for the initial feature (but may happen later) github.com/whatwg/html/...
0 replies
0 reposts
1 likes
It's such a mess that we still can't use headings in HTML fragments, and have the heading structure be local to that part of the document.
It's so shit that browsers shipped the styling part of <section> + <h1> but not the accessibility part. That was the important bit.
1 replies
2 reposts
14 likes
Thankfully most of it is still relevant
0 replies
0 reposts
1 likes
Apple are no longer going to unship web app features for EU users following the release of this podcast.
Coincidence?
yes
developer.apple.com/support/dma-....
3 replies
1 reposts
8 likes
very
0 replies
0 reposts
1 likes
🔊 Apple is removing web app features from Safari in the EU, rather than allowing other browsers to have those features on iOS.
Here's a new episode of OTMT with all the details, and what you can do about it:
offthemainthread.tech/episode/the-...
3 replies
4 reposts
11 likes
Writing is one of the few things I miss from devrel life. Felt good to get a post out.
0 replies
0 reposts
3 likes
📝 New post: Handling aspect ratio changes in view transitions.
Lots of tips on customising view transitions, and of course, live demos.
jakearchibald.com/2024/view-tr...
1 replies
1 reposts
11 likes
See open-web-advocacy.org/apple-attemp... for the actions. They're talking to regulators, but they need evidence from more developers.
0 replies
1 reposts
4 likes
Rather than allow other browser engines to install-to-homescreen on iOS, Apple is removing the feature entirely in the EU.
Some features are tied to install-to-homescreen, such as push messages. Apple is unshipping those for EU users.
We need to act now: open-web-advocacy.org/apple-attemp...
2 replies
11 reposts
17 likes
View transitions isn't being included either, but I'm less sad about that, because it can be used as progressive enhancement. github.com/web-platform...
0 replies
0 reposts
1 likes
Really sad that the Navigation API isn't being included in interop 2024. This API makes a night-and-day difference to handling navigations. It cannot be polyfilled, and cannot really be used as progressive enhancement. We need it yesterday.
github.com/web-platform...
2 replies
2 reposts
11 likes
This always catches me out:
When specifying grid-template sizes, if values aren't wrapped in minmax(), then they're implicitly minmax(auto, value).
So 1fr is implicitly minmax(auto, 1fr).
If you actually want 1fr, you need to use minmax(0, 1fr).
codepen.io/jaffathecake...
0 replies
1 reposts
12 likes
📴🧵 OMGOTMT it's a new episode of Off The Main Thread!
In this episode, @surma.dev talks about Bevvy, an ECS game engine written in Rust, then we take a look at TC39 Stage 3 stuff that hasn't yet gone into browsers, and pick some favourites.
offthemainthread.tech/episode/tc39...
0 replies
2 reposts
9 likes
Reposted by Jake Archibald
🎙️New Episode of Igalia Chats: Browser Politics and You
@meyerweb.bsky.social and @bkardell.com with @jakearchibald.com and @surma.dev about their new podcast, history and some fun analogies
www.igalia.com/chats/otmt
0 replies
3 reposts
4 likes
🔊 New episode of Off The Main Thread!
Me and @DasSurma wonder if build tools are a symptom of a wider problem in web development, or if they're part of the solution.
And what is Bazel, and what makes it different from other build tools?
offthemainthread.tech/episode/big-...
0 replies
2 reposts
12 likes
We're baaaaaack! Me and @surma.dev have a new podcast: Off The Main Thread! (google wouldn't let us have the other name, whatever)
In this episode, @surma.dev talks through the architecture of GPUs, and I look at browser 'ideologies' over the past decade.
offthemainthread.tech/episode/webg...
4 replies
5 reposts
26 likes
State in the navigation API is equally persistent as the history entry. If you can traverse to it, the state should be there.
0 replies
0 reposts
1 likes
Surprised that HTML doesn't have a way to get the language of an element, and observe changes in that value. Seems important when localising custom elements.
Wrote up a proposal: github.com/whatwg/html/...
0 replies
2 reposts
6 likes
Snapped this cat going for a stroll in my dad's garden
0 replies
0 reposts
11 likes
I am _obsessed_ with this guy's surveys of new build properties youtube.com/shorts/giy6l...
1 replies
1 reposts
3 likes
I'm not entirely convinced by active noise cancelling. "We've effectively eliminated the calming rumble of the plane engine so you can really focus on the snoring of the guy two rows back."
1 replies
0 reposts
8 likes
Let's do more view transition debugging! www.youtube.com/watch?v=GDkF...
0 replies
1 reposts
11 likes
Probably the most important point to consider is "unified direction". It's very tempting, and easy with view transitions, to transition every 'element' that exists in both states. But that isn't always the best idea: m3.material.io/styles/motio...
0 replies
1 reposts
1 likes
If you're adding view transitions to your sites, the Material Design guides have some great examples, and some patterns to avoid. I don't think their word is law, but there are a lot of good ideas here.
m3.material.io/styles/motio...
1 replies
4 reposts
10 likes