Redux is a predictable state container for JavaScript apps. Firebase complements it perfectly by providing an
easy-to-use, realtime data source for populating redux's state
by dispatching actions. With ReduxFire, it
only takes a few lines of JavaScript to integrate Firebase data into your (pure|React|Angular|Vue|*) Redux application.
This project aims to follow the API of the official ReactFire package, with a few additional functionalities.
ReduxFire requires Firebase in order to sync and store data. Firebase is a suite of integrated products designed to help you develop your app, grow your user base, and earn money. You can sign up here for a free account. ReduxFire also requires redux-thunk because some of its action creators dispatch functions instead of actions. This allows us to dispatch actions asynchronously and keep it in sync with your redux state.
In order to use ReduxFire in your project, you can install it via npm. You will probably also have to install Redux and Firebase:
$ npm i -S redux firebase reduxfire
Clone the product and run
$ npm i
$ npm run example