Re: [w3c/webcomponents] JavaScript bundlers, HMR and customElements.define() (#829)

It would be very strange & problematic to allow re-definition of the same element name.

I think the least problematic solution here might be to allow wild-card (`*`) for the observed attributes since the only use case here is during development and not really in production.

Another somewhat exotic solution is to make use of an [author-defined custom element registry](https://github.com/w3c/webcomponents/issues/716) since we can just create a new registry each time you need to load scripts.

Both solutions are equally useful outside of this use case so it's probably worth pursing either or both.

-- 
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/829#issuecomment-525136147

Received on Tuesday, 27 August 2019 04:52:26 UTC