You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming out of the work done in #923, it would be nice to have some form of support for HTML Modules (at least our interpretation of it). Ex:
<!-- hero.html --><divclass="hero"><h2>Welcome to my website</h2><ahref="#"><button>Get Started</button></a><ahref="#"><button>Learn More →</button></a></div>
Would definitely to call this out as experimental and very much an interpretation of the specification, and should probably start a discussion to track those future facing implementations for when they land / co-alece at the standards level.
Would be nice to see if this could be used in conjunction with #955 to achieve something like this?
Might also want to revisit our html-includes plugin and deprecate the the Custom Element flavor since I think this was all conceived before SSR and WCC? 🤔
The text was updated successfully, but these errors were encountered:
I think I've seen that one before and if I understand it correctly, I think that one in particular focuses more the SFC (Single File Component) side of things? I think that could definitely be interesting to consider, though I haven't used SFC based tools myself much, but I like the idea in spirit, at least when looking at code snippets of projects like Svelte. 😃
Summary
Coming out of the work done in #923, it would be nice to have some form of support for HTML Modules (at least our interpretation of it). Ex:
As a super duper bonus would be great to also get some sort of DOM Parts / templating API in there too (which might require WCC support)
And use it like this
Details
Would definitely to call this out as experimental and very much an interpretation of the specification, and should probably start a discussion to track those future facing implementations for when they land / co-alece at the standards level.
Would be nice to see if this could be used in conjunction with #955 to achieve something like this?
Might also want to revisit our html-includes plugin and deprecate the the Custom Element flavor since I think this was all conceived before SSR and WCC? 🤔
The text was updated successfully, but these errors were encountered: