Re:Ask HN: Anyone know of any largish applications built wit...
by andrewstuart on Wednesday May 04, 2022 @07:23AM
(#31258997)
I cannot see that Safari supports the "connectedCallback" in Custom Elements, which seems to be to be foundational to the entire technology.
https://developer.mozilla.org/en-US/docs/Web/Web_Components/...
If you're correct about Safari's level of support can you referf me to where it supports connectedCallback?
Re:Ask HN: Anyone know of any largish applications built wit...
by WickyNilliams on Wednesday May 04, 2022 @07:40AM
(#31259125)
The proof, as they say, is in the pudding: https://codepen.io/WickyNilliams/pen/dydoNez
It's been supported for years AFAIK. As long as you extend HTMLElement, and not some other element, everything will work as expected
Aside from this, safari has great support for WCs and is just as capable as any other evergreen browser.