document-register-element icon indicating copy to clipboard operation
document-register-element copied to clipboard

Add DRE to Polyfill.io service

Open jfbrennan opened this issue 4 years ago • 1 comments

The wonderful Polyfill.io service doesn't have a CE polyfill. Have you considered adding this polyfill to their library? People have already suggested it https://github.com/Financial-Times/polyfill-service/pull/1376#issuecomment-369896743

jfbrennan avatar Sep 24 '19 16:09 jfbrennan

I like the idea behind Polyfill.io service, and it could definitively provide custom elements and built-in extends there, targeting either modern WebKit browsers for the latter, or every older browser for the first case, where customElements is not defined.

However, custom elements built-in extend polyfill has its own caveats, so that if you don't know your browser is being polyfilled with such caveats, the DX might be bad (i.e. no constructor).

WebReflection avatar Sep 24 '19 17:09 WebReflection