Re: [w3c/webcomponents] HTML Modules (#645)

I've felt for some time that one advantage of HTML imports would be that they could potentially be used without JavaScript. It would then help to maintain a better and more logical separation of concerns where you can use pure HTML for building structure, CSS for providing style, and JS for logic. Maybe many of the use cases for HTML imports that would not involve JS are considered too trivial by most or already solved by other technologies, but it seems odd to me that we need added and non-standard templating frameworks like mustache to get basic maintainable (and DRY) modern content structures on the web.

If done properly, improving and maintaining the separation between HTML and JavaScript could also ease education for future generations of web developers. Many of us have learned these new systems and technologies as they've been introduced. So it can be hard to see the steep learning curves we are building for those who will arrive after us.

Of course, maybe I'm missing the point of what everyone was trying to do with this proposal. Let me know your thoughts! Thanks

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/645#issuecomment-391184984

Received on Wednesday, 23 May 2018 00:44:42 UTC