Skip to content
R

react-firebase-hooks

Hooks to integrate firebase in your application

by csfrequencyOpen source

#457in UI Libraries
0In stores

Description

React Firebase Hooks is a set of reusable React hooks that connect a React app to Firebase. The hooks cover authentication, Cloud Firestore,…

Highlights

  • Hooks for Auth, Firestore, Functions, Messaging and Storage
  • Realtime Database hooks included
  • Requires Firebase v9 or higher for version 5
  • Upgrade notes from version 4 to version 5

Ratings & Reviews

No ratings yet

Be the first to rate react-firebase-hooks.

People also visit

R

React Admin Firebase

A firebase data provider for the react-admin framework

Developer Tools
Launch
T

@tryvital/vital-link

React hooks and components for integrating with the Vital Link

UI Libraries
Launch
D

@datepicker-react/hooks

React hooks for datepicker

UI Libraries
Launch
R

react-native-marketingcloudsdk

A React Native component

UI Libraries
Launch
R

react-infinite-scroll-hook

A simple hook to create infinite scroll components

UI Libraries
Launch
R

@react-oauth/google

Google OAuth2 using Google Identity Services for React

UI Libraries
Launch

react-firebase-hooks FAQ

What is React Firebase Hooks?

A library of reusable React hooks for working with Firebase services from React components.

Which Firebase services are covered?

Authentication, Cloud Firestore, Cloud Functions, Cloud Messaging, Cloud Storage and the Realtime Database, each with its own documentation page.

What versions are required?

The version 5 documentation requires Firebase v9 or higher. The installation section lists React 16.8.0 or later and Firebase v9.0.0 or later.

How do I install it?

The docs assume npm or yarn with a module bundler such as Webpack or Browserify, using CommonJS modules.

Does it work with React Native?

The docs say React Native Firebase support is no longer as straightforward after the v9 change, and that it may be investigated in a future release.

How do I upgrade from version 4?

Follow the release notes linked from the documentation, which list everything that must change for version 5.

Is it open source?

The repository has a LICENSE file, and the page links to it under the License heading.

What are the best react-firebase-hooks alternatives?

Popular alternatives to react-firebase-hooks include @tryvital/vital-link, @datepicker-react/hooks and react-native-marketingcloudsdk. See all react-firebase-hooks alternatives

Developer Stuff

Badges