Search code examples
htmlweb-componentcustom-element

What are the differences between Custom Elements v0 and v1?


What are the differences between Custom Elements v0 and v1?

See caniuse.com before using v1 or even v0.


Solution

  • v1 replaces v0 which was an experimental try.

    v0 was a Google-only proposed specification while v1 is a WHATWG Web Standard adopted by all major browser vendors (implemented in Chrome, Opera, Firefox, Edge and partially in Safari).

    More details on some Internet publications:

    If you're new at Custom Elements, forget v0.