react-firebase-state
react-firebase-state
is state management library for Firebase in React apps.
The library helps you manage
- server-side state from Firebase Auth and Firestore
- client-side state that you control
Installation
To use react-firebase-state
, you must install four peer dependencies if you don't already have them:
react
react-dom
immer
firebase
In your react project folder, use npm to install these dependencies:
npm install react react-dom immer firebase
Then install the react-firebase-state
component library.
npm install @gmcfall/react-firebase-state
Usage
For usage instructions, see the react-firebase-state documentation on Github Sites.
Licensing and Attribution
This repository is licensed under the MIT License. You are generally free to reuse or extend upon this code as you see fit; just include the original copy of the license. If you modify the software, you can add additional copyright notices if appropriate.