# FirebaseExtended/reactfire

Hooks, Context Providers, and Components that make it easy to interact with Firebase.

Repository: https://github.com/FirebaseExtended/reactfire
Canonical: https://ross.abutalabs.com/products/reactfire
Homepage: https://firebaseopensource.com/projects/firebaseextended/reactfire/
Language: TypeScript
License: MIT
License Family: permissive
Topics: firebase, react, react-hooks, react-suspense, realtime-database, firestore, firebase-js-sdk
Last push: 2026-08-25T00:43:03+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 94, longevity 100
- inputs: {"age_days": 4510, "days_push": 9, "days_rel": 40, "gap_med": 1.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3571, forks 403 (observed 2026-08-28T04:08:10.674980+00:00)

## What it is
ReactFire is a TypeScript library of hooks, context providers, and components that simplify interacting with the Firebase Web SDK in React web apps. It provides realtime subscriptions, safe SDK initialization, and optional React Suspense support.

## Use cases
- subscribe to firestore collections in react components
- use firebase auth state with react hooks
- initialize firestore settings before data fetches in react
- load firebase data with react suspense
- access firebase sdk instances from any react component

## When to choose
- building a React web app backed by Firebase
- you want realtime data subscriptions with automatic cleanup
- you prefer Suspense-based loading states

## When to avoid
- building a React Native or Expo app (use react-native-firebase)
- your project does not use Firebase
- you need a framework-agnostic Firebase wrapper

## Facets
- artifact type: library
- maturity: active
- function: state-management, auth, database-driver, sdk
- domain: web-development, frontend, databases, developer-tools
- platform: browser
- tags: firebase, react-hooks, react-suspense, firestore, realtime-database, context-providers, typescript, nodejs, web-server

## Member repositories
- FirebaseExtended/reactfire (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:10.674980+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:34:06.103667+00:00, confidence not recorded.
  - readme: https://github.com/FirebaseExtended/reactfire (fetched 2026-08-28T04:08:10.674980+00:00, sha 06982acb67b2)
  - homepage: https://firebaseopensource.com/projects/firebaseextended/reactfire/ (fetched 2026-08-29T09:27:57.494924+00:00, sha 5537e40c6a13)
- Data as of 2026-08-30T08:39:29.467469+00:00.
