A set of reusable React Hooks for Firebase (v9 and up).
Note
This is fork of react-firebase-hooks with 2 additions:
Important
We assume that you’re using the npm or yarn package managers with a module bundler like Webpack or Browserify to consume CommonJS modules.
npm
npm install hooked-on-firebase
Yarn
yarn add hooked-on-firebase
From react-firebase-hooks's original Why?:
This library explores how React Hooks can work to make integration with Firebase even more straightforward than it already is. It takes inspiration for naming from RxFire and is based on an internal library that we had been using in a number of apps prior to the release of React Hooks. The implementation with hooks is 10x simpler than our previous implementation.
- Authentication Hooks
- Cloud Firestore Hooks
- Cloud Functions Hooks
- Cloud Messaging Hooks
- Cloud Storage Hooks
- Realtime Database Hooks
- See LICENSE