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

For me one of the larger motivations for something like `lazyDefine` is less about the complexity (it's fairly straightforward to implement with a few LOC) and more about having a centralised place, avoiding multiple calls to define an element which raise exceptions after some number of async cycles. Having a mechanism like `lazyDefine` (or `define(name, Promise)`) would be useful to avoid kicking off work to define a component multiple times.

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

Message ID: <WICG/webcomponents/issues/782/1525658754@github.com>

Received on Thursday, 27 April 2023 13:02:35 UTC