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

@modeckimellett - if you take away JavaScript then this turns in to a simple "fetch and insert HTML", which was already discussed and forked off in to https://github.com/whatwg/html/issues/2791.

@mkay581 - the POC actually uses `import()` so it depends on it, rather than reinventing it. To use the static-style "import" syntax would actually require essentially making static imports dynamic, which there have been some objections to. Still, if we get top-level await, we could simply use the library implementation and use `const htmlModule = await importAs("file.html", HTMLModule)` instead.

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

Received on Wednesday, 23 May 2018 10:48:48 UTC