Giter VIP home page Giter VIP logo

Comments (3)

estrattonbailey avatar estrattonbailey commented on May 23, 2024

@cspotcode hello! Thanks for the question, and sorry for the delay.

At the moment, no, but polyfills should Just Work, if that's an option. Do you have a specific need to avoid polyfills right now? I'm curious to know, because it wouldn't be too hard to add this capability to the library if it could be a common use case.

from gretchen.

cspotcode avatar cspotcode commented on May 23, 2024

Not a specific need; just a general desire to avoid modifying the global environment to avoid possible incompatibilities with other libraries.

If I require any modifications to the global environment, this means that any libraries I publish will also impose this global mutation on their consumers. It's possible that consumers will use another library that breaks when it encounters this global mutation. I don't have any specific examples, so it's possible that this is extremely rare. But when writing libraries, I try not to make that assumption, since I don't know who will be using the library.

I can send a PR to implement this, if you want.

from gretchen.

estrattonbailey avatar estrattonbailey commented on May 23, 2024

Hello again @cspotcode 👋 heck of a year it's been lol, sorry I never got back to you on this.

I hear you on the globals. Since you posted this, gretchen was refactored into a state that might make this easier. However, it still relies on other globals like Request.

If you've got ideas on how we could implement this we'd love a PR!

from gretchen.

Related Issues (11)

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.