DEV Community

Discussion on: Custom Elements or: How I Learned to Stop Worrying and Love Web Components

Collapse
 
ardennl profile image
Arden de Raaij

Thanks for the great article! I recently dove into the world of Web Components as well, and I think it has great potential. I did, however, ran into some problems with SVG and fragment identifiers. Trying to use a simple SVG with a linearGradient in the defs (see the example here: developer.mozilla.org/en-US/docs/W...) seems to trouble Safari and mobile Safari. As far as I can gather this won't be something that's solved anytime soon: github.com/w3c/webcomponents/issue.... Have you experienced similar things?

Regardless of edge cases, I do really have faith in the concept and like Esteban Hernández mentioned, StencilJS is awesome :D