API Reference
Just like redux, the react-redux-firebase API surface is intentionally as small as possible.
Top-Level Exports
- useFirebase
- useFirebaseConnect
- useFirestore
- useFirestoreConnect
- firebaseConnect
- withFirebase
- firestoreConnect
- withFirestore
- reducer (also exported as
firebaseReducer
) - constants
- actionTypes
- isLoaded
- isEmpty
- populate
Importing
Every function described above is a top-level export. You can import any of them like this:
ES6
import { firebaseConnect } from 'react-redux-firebase'
ES5 (CommonJS)
var firebaseConnect = require('react-redux-firebase').firebaseConnect