Giter Site home page Giter Site logo

Comments (5)

rctbusk avatar rctbusk commented on June 12, 2024 2

Hey @mili-confluent, this is actually the next step on the roadmap for redux-query-react. Hopefully will have a PR open in the next week or so along with an alpha release. Would love to get your feedback when I open the PR.

from redux-query.

mili-confluent avatar mili-confluent commented on June 12, 2024

Thank you @rctbusk

from redux-query.

kamranayub avatar kamranayub commented on June 12, 2024

@rctbusk Saw this was in the docs and available, I think, but TS is not finding the exported function (wondering if somehow types are out-of-date?)

image

edit: Indeed it looks like it may be missing here https://github.com/amplitude/redux-query/blob/master/packages/redux-query-react/index.d.ts#L49

I could see if I could whip up a quick PR, hmm.

from redux-query.

mili-confluent avatar mili-confluent commented on June 12, 2024

I find there is a lot of cancel query warning when I use conncetRequest. It seems we did not return the function correctly so that the finished callback did not really delete the pending key.

const finishedCallback = useConstCallback(() => {
(queryKey: QueryKey) => {
pendingRequests.current.delete(queryKey);
};
});

from redux-query.

rctbusk avatar rctbusk commented on June 12, 2024

These PRs are included in the newest version release. 3.3.1. Let me know if this issues are fixed. Closing this issue unless hearing otherwise.

from redux-query.

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.