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

React-query Alternatives

Similar projects and alternatives to react-query
  • react-table

    ⚛️ Hooks for building fast and extendable tables and datagrids for React

  • graphql-yoga

    🧘 Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience

  • react-toastify

    React notification made easy 🚀 !

  • graphql-request

    Minimal GraphQL client supporting Node and browsers for scripts or simple apps

  • @artsy/fresnel

    An SSR compatible approach to CSS media query based responsive layouts for React.

  • quiz-game

    Simple game developed with NextJs

  • fauna-pagination

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better alternative or higher similarity.


Posts where react-query has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-01-27.
  • Using a React Table with Client-Side Pagination | 2021-01-27
    To make the call to the API, I used useQuery hook from the react-query package ( This hook will manage the fetch for us and return an object with data, isLoading, error, and more. Thus, we avoid the need to maintain the different states of the fetch process. Also, it provides other advantages like caching, updating out-of-date data in the background, performance optimizations, and many more. If you want to know more about react-query visit its documentation
  • How to handle pagination with Fauna | 2021-01-27
    To display the data we'll be using the react-table library. We would like to use the pagination query to get only the number of documents to be displayed on one page. To perform the API calls to fauna graphql endpoint, I'll use a react-query library with graphql-request.
  • How to fetch data and store in React Context API? | 2021-01-24
    Luckily enough there's a great library that handles this task really elegantly. I'd recommend you check it out react-query.
  • What does this error mean and how do I resolve it?
    The specific error in the useMutation() source code seems to be that they're doing Function Overloading in TS, and they're misidentifying MutationKey as your intended argument but you're trying to provide a function that returns a promise, a MutationFunction, so that specific error message is (arguably) a mistake by TS. Perhaps the MutationFunction generics could be set, to help TS figure out your types.
  • What's the best stack for quickly hacking together prototypes and experiments? | 2020-12-30
    Apollo Client tends to be a little expensive (size + CPU for managing the graph cache). Good alternatives are URQL and react-query
  • Full Stack Quiz Game with NextJS - My Journey | 2020-11-13
    react-query - Lib used to manage async requests made on the client-side.


Basic react-query repo stats
7 days ago

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