[w3c/webcomponents] Why do we need a registry? (#861)

I don't understand why we can't offer the simple customElement.define(el,class) interface directly and let that return The upgraded Element

We could then simply have array collections listening on dom insertion and upgrade via that or we can manual upgrade importent is to open the API to create a element via customElement.define so that the final class gets returned

-- 
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/861

Received on Monday, 23 December 2019 18:01:52 UTC