Re: [WICG/webcomponents] [dom-parts] Declarative syntax for creating DOM Parts (Issue #1003)

as @keithamus stated
> The main objection (attempting to summarise from the notes) is that {{}} may leave artefacts in the rendered DOM, as there's no default value. What does <div>{{name}}</div> do if name isn't supplied in the data? For templates this is not an issue as they're not user visible until processed.

That is why there is a need for
* fully functional templating, with conditions #997
* the serializeable state which does include the data. As in [DWA](https://github.com/EPA-WG/dwa#data-slice). Needed as for runtime hydration as for SSR

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

Message ID: <WICG/webcomponents/issues/1003/1516526212@github.com>

Received on Thursday, 20 April 2023 15:23:08 UTC