I see mentions from years and years ago online about HTML Includes but this very simple common-sensical functionality doesn’t work for me at all. Has it been deprecated? 'Cause asking Google with those terms, “HTML Includes Deprecated?,” hasn’t dredged up anything on the first SERP for me yet.
If it has indeed been deprecated, does anyone know why? It’s so useful and simple I can’t imagine why anyone would want to not support it any longer.
It never got into HTML in the first place, it was just a part of the first Web Components spec, was never agreed upon, has now been dropped, and only Chrome implemented it in it’s existing form.
Edit: XTHML could also have done this, and it would have been phenomenal, but it was never implemented.
Yeah, no web components stuff is properly viable (orset in stone), it’s a massive mess even now, nearly 10 years after they were mooted.
Like in the time it’s taken to get to a third version of a spec that’s not supported fully anywhere, and they’re still pushing changes and extra features , Facebook wrote their version of Web components and it’s massively successful
Yeah, it’s funny how certain things can work out – reminds me of a conversation I once had with a fellow New Yorker who’s an immigrant from Lebanon about road repair work: in his country, he noted, things used to get bombed but would be repaired in weeks, whereas in NYC it took literally several years (in this one case we were both complaining about at the time) for half a city block of road to be repaired…
Heh, I guess it’s for a similar reasons; there a standard noone can agree on and it falls within a few organisations’ jurisdiction, and they just end up arguing about it instead of someone just doing it (and that someone very possibly f***ing it up)
Nah, all frontend. I just reviewed the first few chapters of a new book on web components, and it’s the first time I’ve played around with them for a few years: it was pretty magic having no framework, but components (without html imports) can’t be used without JS, and JS frameworks like React or Vue kinda work better, so I dunno whether there’s much benefit at the minute