Git Product home page Git Product logo

Comments (5)

bigopon avatar bigopon commented on June 10, 2024

I guess when we made that changes, this module being used in non-Aurelia apps was not considered carefully. So, for Aurelia apps: not a breaking change. For non-Aurelia apps: it was a breaking changes. Now, it's hard to answer your Q

from fetch-client.

jrencz avatar jrencz commented on June 10, 2024

That's what I guessed :)

I'm aware that stand-alone usage is not a first-class usage, but I'd like to raise awareness on that. I'd be grateful if this example made the team consider such usage in the future

I'm not currently aware of where's the best place to put the informacji about necessity to use aurelia-pal-browser. I know that being a user of aurelia-fetch-client stand alone I'd look for such information either in README.md of the package (most obvious way) or maybe in package docs on aurelia page

Maybe a good way would be to add a section about stand-alone usage linking to an article in the docs?

from fetch-client.

zewa666 avatar zewa666 commented on June 10, 2024

Would an explicit peerdependency on the respective version of pal help?

from fetch-client.

jrencz avatar jrencz commented on June 10, 2024

Would an explicit peerdependency on the respective version of pal help?

Setting aurelia-pal-browser as a peer dependency of aurelia-fetch-client, right?
This might help but I'm not sure if it will draw as much attention as it deserves (all in all - if the PAL is not initialized then client will fail on first request)

I also have an idea: checking if PAL is initialized when client is created and warning the developer in console.

It will be a message just in time.

from fetch-client.

johnmanko avatar johnmanko commented on June 10, 2024

What are the versions? Looking at NPM and it goes from 0.9.0 (I'm not counting 0.10.0-dev* as releases for general usage) to 2.* alpha/dev. 1.* is completely missing.

https://www.npmjs.com/package/@aurelia/fetch-client

from fetch-client.

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.