- From: Keith Cirkel <notifications@github.com>
- Date: Thu, 27 Apr 2023 06:02:30 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 27 April 2023 13:02:35 UTC
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