real-cancellable-promise VS react-query

Compare real-cancellable-promise vs react-query and see what are their differences.

real-cancellable-promise

Cancellable promise library for JavaScript and TypeScript. (by srmagura)

react-query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query] (by tannerlinsley)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
real-cancellable-promise react-query
2 190
32 27,869
- -
3.2 9.1
7 months ago almost 2 years ago
TypeScript TypeScript, JS
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

real-cancellable-promise

Posts with mentions or reviews of real-cancellable-promise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-22.
  • Are you sure you know Promises?
    1 project | dev.to | 29 Jun 2022
    Even though #2 was the first and the result of #1 is ignored, #1 also ran to completion! In case process #1 must stop when process #2 "won" the race, then you need something like a cancellable promise! (There are other ways... You can do your own research by searching for "Why can't you cancel promises?").
  • Announcing real-cancellable-promise
    2 projects | dev.to | 22 Sep 2021
    Head on over to the README on GitHub for instructions on integrating your HTTP library with real-cancellable-promise and for more detailed examples.

react-query

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 2023-06-02.

What are some alternatives?

When comparing real-cancellable-promise and react-query you can also consider the following projects:

msn-weather - ☀ A simple MSN Weather API wrapper with built-in TypeScript support.

SWR - React Hooks for Data Fetching

react-modal-promise - Ease way to use React modal components as Promise

axios - Promise based HTTP client for the browser and node.js

rocketrpc - A typesafe framework to destroy client-server barriers.

redux-saga - An alternative side effect model for Redux apps

wretch - A tiny wrapper built around fetch with an intuitive syntax. :candy:

rtk-query - Data fetching and caching addon for Redux Toolkit

prray - "Promisified" Array, it compatible with the original Array but comes with async versions of native Array methods

zustand - 🐻 Bear necessities for state management in React

next-shopify-storefront - 🛍 A Shopping Cart built with TypeScript, Tailwind CSS, Headless UI, Next.js, React.js, Shopify Hydrogen React,... and Shopify Storefront GraphQL API.

Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.