DEV Community

loading...

Discussion on: Learn basic Web Components

Collapse
98lenvi profile image
Lenvin Gonsalves Author

Thanks for letting us know about this. The code looks much cleaner, and yes! not creating a template element would be much better as the global namespace wouldn't be polluted. I'll add this comment to the article 😀

Forem Open with the Forem app