query VS react-query

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

query

🚀 Powerful asynchronous state management, server-state utilities and data fetching for Angular Applications (by ngneat)

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)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
query react-query
3 190
521 27,869
1.9% -
8.8 9.1
about 1 month ago almost 2 years ago
TypeScript TypeScript, JS
- 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.

query

Posts with mentions or reviews of query. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-10.
  • A Deep Dive into Angular and Tanstack Query with Our Demo Store
    2 projects | dev.to | 10 Jan 2024
    Angular TanQuery Repo: https://github.com/ngneat/query/
  • Angular state management
    3 projects | /r/Angular2 | 20 Oct 2023
    I have reasonable knowledge with most of other popular JS frameworks especially React. But, Angular seems quite different from DX perspective. For React, my default stage management is to use React Query for server sync and Zustand for client state. Often on Angular context I read that people recommend using NgRx and saying that it is like Redux. But I find Redux DX quite bad and I only work with it on legacy projects. So is there similar approach to managing state in Angular app? I found solutions such as: https://github.com/ngneat/query and then https://github.com/ngneat/elf. Would these make sense for Angular and are there good alternatives?
  • TANStack Query
    3 projects | /r/Angular2 | 6 Jul 2023
    what you're looking for is ngneat/query. It uses tanstack query under the hood. much like in react, you can use it for async (also called server) state management, it will not help you with managing client state (like dark/light theme toggle, ...). You still need rxjs for making API calls much like you would use the fetch api or axios in the react version. I don't think it replaces signals, you could still use signals with it (and signals support seems to be planned).

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 query and react-query you can also consider the following projects:

store - 🚀 NGXS - State Management for Angular

SWR - React Hooks for Data Fetching

elf - 🧙‍♀️ A Reactive Store with Magical Powers

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

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

rx-query

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

TanStack Query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

zustand - 🐻 Bear necessities for state management in React

ng-online-store-tanstack-query-demo

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.