Re: [w3c/webcomponents] Lazy Custom Element Definitions (#782)

@Jamesernator I think finer-grained loading should be left to the element implementation itself.

One goal of this proposal is that in combination with a Scoped CustomElementRegistry, the use-site of an element can lazily define it in a generic way without knowing anything about its implementation (like what attributes it cares about).

If an element itself wants to lazy-load parts of its implementation based on lifecycle, attribute or children changes, or events, then it can do that internally.

-- 
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/782#issuecomment-479656871

Received on Wednesday, 3 April 2019 21:00:40 UTC