3 ms·
It seems odd to rail against custom HTML tags requiring code to drive them. Unless you want custom tags to basically just be text-replacement macros for built-i
by Spivak 7y ago
It seems odd to rail against custom HTML tags requiring code to drive them. Unless you want custom tags to basically just be text-replacement macros for built-in elements you're gonna need some code somewhere to actually make them work.
In a parallel universe where web components came first the built-in tags would themselves be web components backed by JS instead of having native implementations.
- dmitriid 7y agoI was primarily responding to "javascript exists for animation and data fetching". Javascript is the core of WebComponents for better or for worse.
- nickthemagicman 7y agoNot accurate at all. Native Web Components are a core spec in the BROWSER. A web component can be completely styled and created without Javascript.
- dmitriid 7y agoANd what would be the purpose of such a web component? ;)
- nickthemagicman 7y agoProgressive Enhancement...