Integrating the Webs' dependency systems

Matthew Robb matthewwrobb at
Fri May 23 16:19:23 PDT 2014

I think this is a great discussion and it would be cool if it could get
mirrored to the other working groups (specifically esdiscuss).

It would be great if WebComponents used the Loader and thus you could
easily import a component into an es6 module and you could build a
component that is entirely an es6 module that simply exports it's relevent
bits. This would require something like <link rel="imports" type="module">
but I almost.

I'd love to be able to import css from an es6 module or import a template

- Matthew Robb

On Fri, May 23, 2014 at 3:42 PM, Ian Hickson <ian at> wrote:

> On Fri, 23 May 2014, Ryosuke Niwa wrote:
> > On May 23, 2014, at 3:14 PM, Ian Hickson <ian at> wrote:
> > >
> > > - <script needs=""> in HTML
> >
> > Could someone give me a pointer about this?  This is the first time I've
> > heard of this feature.
> It's a work in progress, but the last public post from me about it was:
> I'm currently going through feedback sent since then to work out how to
> proceed in its design; that's what led me to looking into the HTML Imports
> and ES6 Modules features.
> The basic theme of <script needs=""> is making it possible for resources
> (probably more than just scripts) depend on each other and delay loads
> until they are needed. For example, being able to say "this script
> shouldn't download yet. When it is needed, though, it should also download
> and apply this style sheet, that image, that HTML Import, and that other
> script, and then once all of those are downloaded and applied, it should
> itself be applied". There's also related work into how to control the
> relative priority of downloads (e.g. needed now, needed after things that
> are needed now, not yet needed, not yet needed but may be precached).
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
>       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list