Jed Schmidt @jed.is 路 Dec 21

surprised how custom element upgrades work... what would you assume?

8 likes 3 replies

?

Replies

Yonatan Kra 路 Dec 22

What @dannyengelman.bsky.social said 馃榾

Konnor Rogers 路 Dec 21

false false true ? I believe the first 2 give you an HTMLUnknownElement until the element gets "upgraded" I don't think the "define" call updates until the next event loop, but I'd have to double check.

Sunil Pai 路 Dec 21

I recollect this raised a shitstorm when @rich-harris.dev tweeted about it lol