News for hackers. Stuff that matters.
Re:Implementing single-file web components by AtlasBarfed on Monday March 23, 2020 @12:54PM (#22665895)
Then why not a templating language with looping constructs until it is Turing complete? Because base HTML is a document not a document generation language. Um, until javascript. Oh well.

Thus JS library references basically enable HTML includes.

Re:Implementing single-file web components by woodrowbarlow on Monday March 23, 2020 @01:28PM (#22666336)
a document that supports embedding other documents is still just a document.
Re:Implementing single-file web components by e12e on Monday March 23, 2020 @03:55PM (#22668056)
Ah, but a document that supports including itself, that's the bomb!