Re: [WICG/webcomponents] Functionally complete declarative templating (Issue #997)

@keithamus 
> I wonder if <template id="foo">Content</template> and <template ref="foo">Fallback content</template> would be better here. 

The `ref` concept with the fallback as separate/sibling element is not a part of this proposal. The inline fallback as a body in addition to `src=URL` is straight. Implementation-wise the separate template and its fallback would create extra burden on parser and loading life cycle. Unless it has a significant advantage to inline fallback, it would not be welcomed by vendors.  
```html
<template src="url"> fallback</template>
```

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

Message ID: <WICG/webcomponents/issues/997/1496847141@github.com>

Received on Wednesday, 5 April 2023 02:49:02 UTC