Re: [w3c/webcomponents] Return constructor from customElements.define (#484)

Another consideration is that it's not clear that modules which declare custom element classes should be the same as the module that defines them. It may be a better pattern (not yet proven in the ecosystem) to simply export the class, and let the consumer decide what local name to use for that class in their document.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/484#issuecomment-211543643

Received on Monday, 18 April 2016 19:37:45 UTC