top | item 42792203

(no title)

kilburn | 1 year ago

redux-query is not popular by any means. [1]

Both react-query (that is tanstack query now) [2] and rtk-query [3] include extensive configurability regarding their caching behaviors. This includes the ability to turn off caching entirely. [4,5]

Your story sounds like a usage error, not a library issue.

[1] https://www.npmjs.com/package/redux-query

[2] https://tanstack.com/query/latest/

[3] https://redux-toolkit.js.org/rtk-query/overview

[4] https://tanstack.com/query/latest/docs/framework/react/guide...

[5] https://redux-toolkit.js.org/rtk-query/usage/cache-behavior

discuss

order

bloomingkales|1 year ago

redux-query seems a popular library for dealing with API calls in react.

I’m having a real hard time being polite right now. Do we have an education problem because where is this person getting their information that they think redux-query is popular?

streptomycin|1 year ago

Probably he made a typo and meant react-query.

gejose|1 year ago

> redux-query is not popular by any means

Yeah I don't know where the parent comment got this from. Every few weeks I seem to see these low effort posts that basically boil down to "javascript bad", but gets a lot of upvotes. And when you read into it, you see the author often has a poor grasp of js, or its ecosystem, and has set up some unholy abstraction, assuming that's how everyone does it.

Use the right tool for the job lol.