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

>From a web developer point of view, in a production web app like Construct 3, we write scripts solely in separate script files and never use inline scripts. So limiting `import.meta.document` to inline scripts only essentially makes it useless. To be useful I think it should be always available, and refer only to the most recent or most deeply nested importing document.

I still think that in practice a better architecture would be to simply use script modules as the dependency system, and import static HTML files. This should be straightforward and side-steps problems 3, 4 and 5.

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

Received on Friday, 5 October 2018 10:39:04 UTC