Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's true, but they didn't ratify yet a standard on how to handle web components naming collision, so if you create `my-button` and another developer register `my-button`... Or if you want to use two different version of your own `my-button`...

This is the proposal for scoped elements: https://github.com/WICG/webcomponents/blob/gh-pages/proposal...



Yeah well, good old XML already had this handled through XML namespaces.


What happens when your namespaces collide? (:


The namespaces are URLs, so DNS ensures the domain names are unique globally, the owner of each domain name ensures the paths are unique for that domain, and the author of the XML document ensures the namespace aliases are unique for the specific namespaces used in that specific document.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: