DEV Community

Discussion on: Web Components 101: What are Web Components?

Collapse
 
stefannieuwenhuis profile image
Stefan Nieuwenhuis

Thanks for your reply! Browser support for Web Components is indeed growing. Mind that Safari and IE11 don't provide support (and probably never will). Luckily, we can use polyfills. Source: nhswd.com/blog/web-components-101-...

Collapse
 
dannyengelman profile image
Danny Engelman • Edited

Hold your horses!

Safari does support Web Components;
and has done so for a very long time!!

Safari does not support Customized Built-In Elements, (eg. extend HTMLButton)
only Autonomous Elements that extend from HTMLElement

Note that all BaseClasses: Lit, Stencil, Ionic etc, only extend from HTMLElement also.

So Customized Built-In Elements can only be created with Vanilla code. But is generally considered a dead end because Apple has some valid arguments against the implementation.

Thread Thread
 
stefannieuwenhuis profile image
Stefan Nieuwenhuis

Thanks so much for elaborating! It's true that Safari only supports Autonomous Elements! I'll update my article accordingly.