- From: Sasha Firsov <notifications@github.com>
- Date: Thu, 06 Apr 2023 19:34:03 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 April 2023 02:34:08 UTC
@bahrus > you envision being able to create something like "symbolic links" for DOM nodes, so that multiple DOM nodes that appear throughout the document can be "shared"? yes, template DOM can be reused across multiple instances. The rendering can be optimized not to inject the whole DOM tree and re-render on each occasion instead of preserving between rendering cycles. The hydration of web components assumes that there is no guarantee the DOM would be constant say during the scroll, templating is another aspect of such dynamic behavior. Programming of web page in such highly dynamic DOM would be different than before as there is no such thing as "final DOM" and stable state. From another side it is not a dictated by the template semantics and syntax and would be up to platform to follow which would make an adoption easier. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/997#issuecomment-1499866420 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/997/1499866420@github.com>
Received on Friday, 7 April 2023 02:34:08 UTC