# CSFrequency/react-firebase-hooks

React Hooks for Firebase.

Repository: https://github.com/CSFrequency/react-firebase-hooks
Canonical: https://ross.abutalabs.com/products/react-firebase-hooks
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: react, firebase, react-firebase-hooks, firebase-auth, firebase-authentication, firebase-database, firebase-realtime-database, firebase-firestore, firebase-cloud-firestore, firebase-storage, firebase-cloud-storage, react-hooks, react-native, javascript, typescript
Last push: 2024-04-22T13:31:16+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2868, "days_push": 863, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3633, forks 299 (observed 2026-08-28T04:08:12.614879+00:00)

## What it is
A set of reusable React Hooks that simplify integrating Firebase services (Auth, Firestore, Realtime Database, Storage, Functions, Messaging) into React applications. It wraps Firebase SDK calls in hook form so components can subscribe to data and auth state declaratively.

## Use cases
- subscribe to firestore collections in react components
- handle firebase authentication state in react
- read and write realtime database from react hooks
- upload files to firebase storage in a react app
- use firebase cloud functions from react
- manage firebase auth sign-in flows with hooks

## When to choose
- you use React 16.8+ with Firebase v9 modular SDK
- you want idiomatic hooks for auth, firestore, database, and storage
- you prefer a small focused library over a full state framework

## When to avoid
- you use React Native Firebase, which is no longer well supported
- you use Firebase v8 or earlier
- you need a framework like React Query with caching and offline features

## Facets
- artifact type: library
- maturity: stable
- function: auth, state-management, sdk
- domain: web-development, frontend, databases, developer-tools
- platform: cross-platform
- tags: react-hooks, firebase, firestore, realtime-database, cloud-storage, react-native, nodejs, web-server

## Member repositories
- CSFrequency/react-firebase-hooks (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:12.614879+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:51.555695+00:00, confidence not recorded.
  - readme: https://github.com/CSFrequency/react-firebase-hooks (fetched 2026-08-28T04:08:12.614879+00:00, sha d7284b26f620)
- Data as of 2026-08-30T08:39:29.467469+00:00.
