invertase/tanstack-query-firebase
invertase/tanstack-query-firebase has 459 GitHub stars and 68 forks. GitHot measured -1 stars in 24 hours and -2 in 7 days. Last checked 2026-11-11 21:14 UTC. Last push 2026-05-27.
TanStack Query hooks for managing asynchronous operations with Firebase.
What you can do
- Automatic Caching: Avoid redundant Firebase calls with built-in caching.
- Out-of-the-box Synchronization: TanStack Query keeps your UI in sync with the Firebase backend effortlessly.
- Background Updates: Fetch and sync data seamlessly in the background without interrupting the user experience.
- Error Handling & Retries: Get automatic retries on failed Firebase calls, with robust error handling baked in.
측정된 스타 증가
- in 24h
- -1
- in 7 days
- -2
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTanStack Query Firebase
A set of TanStack Query hooks integrating with Firebase.
Installation • Documentation • License
TanStack Query Firebase provides a set of hooks for handling asynchronous tasks with Firebase in your applications.
Looking for React Query Firebase? Check out the old branch.
Why use this library?
When managing Firebase’s asynchronous API calls within your application, state synchronization can become cumbersome in most applications. You will commonly find yourself handling loading states, error states, and data synchronization manually.
This library provides a hands-off approach to these problems, by leveraging the popular TanStack Query project. Out of the box, you get:
- Automatic Caching: Avoid redundant Firebase calls with built-in caching.
- Out-of-the-box Synchronization: TanStack Query keeps your UI in sync with the Firebase backend effortlessly.
- Background Updates: Fetch and sync data seamlessly in the background without interrupting the user experience.
- Error Handling & Retries: Get automatic retries on failed Firebase calls, with robust error handling baked in.
- Dev Tools for Debugging: Leverage the React Query Devtools to gain insights into your data-fetching logic and Firebase interactions.
By combining Firebase with TanStack Query, you can make your app more resilient, performant, and scalable, all while writing less code.
Installation
This project expects you have firebase installed as a peer dependency. If you haven't done so already, install firebase:
npm i --save firebase
Next, install specific packages for your framework of choice:
React
npm i --save @tanstack/react-query @tanstack-query-firebase/react
See the Documentation for more information on how to use the library.
Status
The status of the following Firebase services and frameworks are as follows:
- ✅ Ready for use
- 🟠 Work in progress
- () Not yet started
| Module | React | Vue | Solid | Angular | Svelte |
|---|---|---|---|---|---|
| analytics | |||||
| app-check | |||||
| auth | 🟠 | ||||
| database | |||||
| data-connect | ✅ | ✅ | |||
| firestore | 🟠 | ||||
| firestore/lite | |||||
| functions | |||||
| installations | |||||
| messaging | |||||
| performance | |||||
| remote-config | |||||
| ai |
License
- See LICENSE
Built and maintained by Invertase.
관련 프로젝트 살펴보기
freeCodeCamp/freeCodeCamp
freeCodeCamp.org의 오픈 소스 코드베이스와 커리큘럼입니다. 수학, 프로그래밍, 컴퓨터 과학을 무료로 배울 수 있습니다.
459,013 스타donnemartin/system-design-primer
대규모 시스템 설계 방법을 배우고 시스템 설계 면접을 준비할 수 있습니다. Anki 플래시카드가 포함되어 있습니다.
377,634 스타react/react
웹과 네이티브 사용자 인터페이스를 위한 라이브러리.
252,533 스타vuejs/vue
Vue 2 저장소입니다. Vue 3은 https://github.com/vuejs/core를 방문하세요.
212,530 스타