4 ms·
In other words, HTML is unabstractable. I've been wishing to be able to type this since 1997. <let mytag> <p>my tag!</p> </let> <mytag/> Same with css. There
by unabst 6y ago
In other words, HTML is unabstractable. I've been wishing to be able to type this since 1997.
<let mytag>
<p>my tag!</p>
</let>
<mytag/>
Same with css. There are workarounds we use because abstraction is a requirement to code. Somehow the web components spec even seems like a workaround, for which we have many workarounds... and around and around we go :)
- Izkata 6y agoThe first step of that kinda exists, <template> is for HTML that shouldn't be rendered immediately. However, you need javascript to grab it and actually make it reusable.