react-query

⚛️ Hooks for fetching, caching and updating asynchronous data in React (by tannerlinsley)

React-query Alternatives

Similar projects and alternatives to react-query

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better react-query alternative or higher similarity.

Suggest an alternative to react-query

Reviews and mentions

Posts with mentions or reviews of react-query. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-15.
  • Breaking up with old Redux store which uses axios middleware
    1 project | reddit.com/r/reactjs | 25 Jan 2022
    On the other note, if you have a lot of server state and not a lot of client state that you need to share between distant components, I would recommend looking at react-query . It is very good library that's meant to handle state that's coming from your servers. Since you don't have any reducers the migration would be far easier and the library is very powerful. With some hook composition you can achieve great results and remove redux boilerplate too.
  • Top 5 Popular React Packages
    5 projects | dev.to | 15 Jan 2022
    Check out: React Query
  • My tech choices for building a modern SPA
    11 projects | dev.to | 9 Jan 2022
    I favor Hooks and function components over class components. Hooks let me concisely encapsulate stateful logic. The ecosystem has moved towards them too. For example, the excellent react-query library uses a hook interface.
  • If every component made it's own API call to get the data, would that be an overkill for the server?
    3 projects | reddit.com/r/reactjs | 8 Jan 2022
    There's gotta be a better way
  • What are the new and exciting tech for React projects for 2022?
    16 projects | reddit.com/r/reactjs | 5 Jan 2022
    You're probably confusing the query client and the query client provider. The QueryClient and QueryCache are framework agnostic, whilst the QueryClientProvider (which creates a context) is a react component that creates a context and expects a query client instance. QueryClient has nothing to do with React, and can be used outside of react (I've done that myself). You can either read the docs or the code,
  • Can I use websockets in an api rest?
    1 project | reddit.com/r/reactjs | 3 Jan 2022
    Agree with comments, polling may be the way to go here. Something that could help in this case is react-query. I'm not sure of your exact case, but something to look into. https://react-query.tanstack.com/
  • Creating json/cache files during "Build/Deploy" time to save on the cost of the api/time calls?
    3 projects | reddit.com/r/reactjs | 1 Jan 2022
    Have you looked into something like React Query? I know it can do caching but probably not to the extent you're looking for.
  • 2021 in Review
    8 projects | dev.to | 30 Dec 2021
    2021 was definitely the year when I started to take open source seriously. I have contributed a little to open-source before, but the turning point came at around Mai 2021, when Tanner made me an official React Query maintainer. Around the same time, I also became a maintainer for remeda, my favourite TypeScript util library.
    8 projects | dev.to | 30 Dec 2021
    Right now, we have a draft PR that passes all tests against React 17 and React 18. Depending on when React 18 will become stable, we might include this PR in our next major release.
  • My Favorite Tech Stack for 2022
    11 projects | dev.to | 23 Dec 2021
    That's it. Nothing highly sophisticated. It is mostly the tech I enjoy and I think is valuable in the future. There are also other libraries I really enjoy, like XState and React Query (there is also Svelte Query). Just to mention a few.
  • Widget Driven Development
    5 projects | dev.to | 15 Dec 2021
    React-Query, SWR, Redux Toolkit Query, Vue Query for RESTful APIs
  • Accessing unique queryClients in Storybook-based Jest tests
    3 projects | dev.to | 13 Dec 2021
    I recently came up with a pattern for accessing unique React Query clients on a per-render basis in Storybook stories and tests (using Jest and React Testing Library). This enables the following kind of API:
  • An Electron app architecture
    7 projects | dev.to | 9 Dec 2021
    react-query
  • Dependency injection in React
    4 projects | dev.to | 6 Dec 2021
    React Query is a prime example of this. We can use the same provider in both development and testing and feed it to different clients within each environment.
  • How to get better and easier state management with Redux Toolkit
    11 projects | dev.to | 1 Dec 2021
    react-query came with a solid purpose, filling the gap that no other library was big and opinionated about, how to get asynchronous data. So this library wasn't here to replace any of the previous state managers, as those were there to handle client and server state, but react-query focused only on server state.

Stats

Basic react-query repo stats
140
25,018
9.3
6 days ago

tannerlinsley/react-query is an open source project licensed under MIT License which is an OSI approved license.

Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com
Find remote TypeScript jobs at our new job board 99remotejobs.com. There are 14 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.