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

> the basis that popular JS frameworks such as React have gone to the completely other direction of embedding HTML inside JS.
While not being a framework author nor a browser developer here, just an end-user, I'd like to say that, although it is a widely adopted approach, it still requires tooling and you'll not be able to serve **vanilla** HTML, CSS and JS unprocessed by stuff like Webpack and so on.

I'd also like to remind you that React was initially built with PHP where including HTML was once widely used. But is such a mixing really considered as a good practice by PHP developers now? 

Furthermore, how shall HTML modules work in browsers with **disabled JavaScript**? If markup stays in HTML, not in JS, I can imagine them still working somehow. But if it is placed in string literals, I can't. 

-- 
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-310039362

Received on Wednesday, 21 June 2017 10:38:50 UTC