custom-elements icon indicating copy to clipboard operation
custom-elements copied to clipboard

better polyfills with built-in support

Open AndyOGo opened this issue 6 years ago • 3 comments

Unfortunately the custom element polyfill provided by @webcomponents does not support extended built-in custom elements, has this known limitations and is slow.

The most bullet proof and battle tested polyfills I found are from @WebReflection. Please consider to at least mention them, if not just replacing by those:

AndyOGo avatar Feb 24 '19 08:02 AndyOGo

@shawnbot Any free time available to look into this?

AndyOGo avatar Feb 26 '19 16:02 AndyOGo

Hi, I'm actually a huge fan of @WebReflection and have used his v0 polyfill extensively! However, to more closely align with what my teammates at GitHub are doing, I decided to slim down the polyfills section and reduce confusion around which polyfill(s) folks should use.

But! I recognize that there are some issues with the @webcomponents implementation and definitely think it's worth including links to Andrea's work here. I would gladly welcome a PR to add them back. ❤️

shawnbot avatar Feb 27 '19 00:02 shawnbot

@shawnbot I created a PR, please let me know if you agree with the wording

AndyOGo avatar Feb 27 '19 08:02 AndyOGo