DEV Community

Discussion on: Lets Build Web Components! Part 2: The Polyfills

Collapse
 
smalluban profile image
Dominik Lubański

I've just discovered your articles on dev.to, and what I can say is - well done! Thank you for mentioning hybrids among other great libraries for creating web components.

For cases like that, the polyfill provides a shim for the native customElements implementation which supports ES5-style function keyword elements

With Bebel v7 it is not required anymore if you use it to transpile your code. It includes Reflect.construct polyfill inline, to ensure proper super() call.

Collapse
 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

Cool! Thanks for the tip!

I'm planning to do a piece on hybrids later on in the series, so stay tuned, and please keep your comments coming!

Collapse
 
smalluban profile image
Dominik Lubański

Feel free to contact me when you will write a post about hybrids. I will be happy to help you with that!

Thread Thread
 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

I'll message you on gitter!