firebaseextended/reactfire

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 45 minutes ago
Added to GitGenius on September 19th, 2026
Created on April 28th, 2014
Open Issues & Pull Requests: 54 (+0)
GitHub issues: Enabled
Number of forks: 404
Total Stargazers: 3,570 (+0)
Total Subscribers: 87 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.9 days
Mean response time: 179.4 days
90th percentile: 699.0 days
Tracked items: 67

Most active contributors

Sign in to see contributor activity.

How this project is maintained

92% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 96% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 39
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,187 days
Stale 30+ days: 35
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • v5 (37)
  • needs investigation (5)
  • bug (3)
  • feature request (2)
  • enhancement (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

ReactFire is a React library that provides hooks, context providers, and components for integrating Firebase services into web applications.

ReactFire solves the problem of managing Firebase subscriptions and initialization in React function components. It provides hooks like `useUser` and `useFirestoreCollection` that automatically handle subscription lifecycle, unsubscribing when components unmount. The library also offers initialization hooks such as `useInitFirestore` and `useInitRemoteConfig` that guarantee Firebase libraries are configured before any data operations occur, addressing the challenge of setting up persistent storage and other configuration in React's re-render environment. Additionally, ReactFire supports optional Suspense integration, allowing developers to delegate loading state management to React rather than manually tracking status.

ReactFire is designed specifically for web React applications and wraps the Firebase Web SDK, making it unsuitable for React Native or Expo projects. Developers should choose this library if they are building web applications that need straightforward Firebase integration with automatic subscription management. The tool works well for projects requiring real-time data from Firestore or the Realtime Database, authentication state management, or access to other Firebase services like Remote Config. The README explicitly notes that React Native projects should use an alternative library instead.

The project is marked as experimental and maintained by Googlers on a best-effort basis rather than as an official Firebase product. The repository includes comprehensive documentation covering quickstart guides, common use cases, and API references, along with an upgrade guide for version transitions. A live example is available for developers to explore the library's capabilities before adoption.