Giter VIP home page Giter VIP logo

Comments (7)

GeoffreyBooth avatar GeoffreyBooth commented on May 22, 2024 2

I think we need to cancel because no one is available to run the Zoom and stream to YouTube. @Trott or @aduh95 could we get @JakobJingleheimer added to those accounts?

from loaders.

GeoffreyBooth avatar GeoffreyBooth commented on May 22, 2024 1

Okay, I'll close this for now. @JakobJingleheimer do you mind opening the issue and requesting that?

from loaders.

GeoffreyBooth avatar GeoffreyBooth commented on May 22, 2024

Anything for the agenda?

from loaders.

arcanis avatar arcanis commented on May 22, 2024

Not sure - any opinion regarding #77 (comment) ?

Do you think, with the chaining being merged, it's worth discussing ambient loaders (and perhaps "should ambient loaders just be loaders", as I recall cspotcode suggested it and we didn't recall why it'd be best avoided)? I would like to try to make a prototype soonish, if there's consensus on the general design.

from loaders.

GeoffreyBooth avatar GeoffreyBooth commented on May 22, 2024

I would like to try to make a prototype soonish, if there’s consensus on the general design.

I think there was agreement on the general use case, that it might be nice to load loaders from https or from .zip files or wherever, and therefore we need loaders to affect subsequent loaders. I’m unsure if there’s any reason that that shouldn’t just always be the case; what abilities would we lose if all loaders behaved that way? https://github.com/danez/pirates exists to resolve conflicts between CommonJS loaders, so I feel like there are probably cases like those described in that project’s readme that would apply to ESM loaders?

So assuming there are reasons we need some loaders to affect following loaders and others to not do so, then we would need some way to signal such. I liked the idea of adding an export from the loader itself to express that; “ambient” is a little vague, so maybe something like export applyToFollowingLoaders = true (we can rename later). Since this would be opt-in, there shouldn’t be a risk of this new capability breaking any existing use cases.

If you’re eager to get coding, maybe branch off the latest node master, now that it has chaining, and see if you can add support for such an export? And we can fine-tune the design once we see the branch in action, assuming it’s not too much effort to get it working. Or we can have a meeting first to discuss the design further; I think we’ve pretty much discussed everything, but I will defer to others who think otherwise. If it turns out to be a mess to try to support this optional “apply to following” behavior, as in, the complexity involved is substantial and it would possibly work better to just have all loaders behave that way, then we should probably meet up and discuss what downsides (if any) that would entail.

I realized I can’t make next week, though, so you’ll either have to meet without me or we can schedule for the following week or later.

from loaders.

JakobJingleheimer avatar JakobJingleheimer commented on May 22, 2024

An export would not work because it happens after the file has been evaluated and that's too late: #63 (comment)

I sprained my wrist, so I don't have anything to discuss, but I can attend.

from loaders.

Trott avatar Trott commented on May 22, 2024

@Trott or @aduh95 could we get @JakobJingleheimer added to those accounts?

I also do not have access to the Zoom or YouTube accounts. @mhdawson might be able to help. I think the process is open something in the admin repo, and then after a few days with no objections and enough approvals, somebody somewhere makes the magic happen.

from loaders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.