Re: [WICG/webcomponents] Templates are currently half a solution to web component HTML (Issue #994)

@mangelozzi I guess you referring to the current state of templates which is far from the origin of `template` meaning in programming word:
* template has to be reusable, hence cache-able
* template does not need to be re-instantiated. It is not injected into DOM, rater reused during render. 

The image which is part of icon font is the perfect sample of such template from reusability and rendering prospective. Unfortunately it is "passive" solution without parameters and does not have much of HTML qualities.

This has been raised almost without any traction on WICG discourse:
* Reusability and caching of general objects including templates: [Unified access to external and embedded resources](https://discourse.wicg.io/t/proposal-unified-access-to-external-and-embedded-resources/6114) 
* [Fully functional declarative template](https://discourse.wicg.io/t/proposal-fully-functional-declarative-template/6115)



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

Message ID: <WICG/webcomponents/issues/994/1495401745@github.com>

Received on Tuesday, 4 April 2023 06:07:53 UTC