← Back to context

Comment by bapak

14 hours ago

Found this, it should answer your complaints:

> HTML Imports were redundant, since you need JavaScript to bring them alive anyways

Exactly. I think the problem wasn't that browsers (specifically Firefox and Safari) were opposed to the idea of html includes in general, but they didn't like the specific proposal, in large part because it still required javascript, and added a lot of complexity for little to no benefit.

I think rejecting that proposal was the right thing to do. What disappoints me is that there hasn't been a more declaritive, simpler proposal that has gotten anywhere.

  • HTML Imports and HTML includes are two different ideas. HTML Imports was never like what people want from HTML includes.

    HTML Imports were shelved because they didn't integrate with the JS module graph. HTML Modules will do that someday.

  • > What disappoints me is that there hasn't been a more declaritive, simpler proposal that has gotten anywhere.

    Possible names: Client Side Includes (CSI): Like Server Side Includes (SSI) in Apache IHTML (inline html): Like the iframe tag, but for html instead of whole page.