- From: Ashley (Scirra) <notifications@github.com>
- Date: Thu, 17 Aug 2017 09:08:23 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 17 August 2017 16:10:27 UTC
Thinking about this more, I don't think generic imports is an interesting feature unless it is dynamic. I don't see much value in `import doc from './foo.html' as DocumentFragment` if all it does is basically a fetch with type `document`. Why not just fetch it normally? The whole value of the feature comes from being able to run a JS hook and do things like implement HTML modules in a library. Maybe there's another way we could approach this? How about adding a JS hook that is called for every `import` statement? -- 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-323119546
Received on Thursday, 17 August 2017 16:10:27 UTC