redux-fireuser
Redux middleware, actions, and reducers for Fireuser
Getting Started
Install through NPM
- Install:
npm install --save redux-fireuser
Documentation
Middleware
;; // Combined reducers;; let fireuserMiddleware = ;const createStoreWithMiddleware = createStore;
Reducers
;;;const rootReducer = ; ;
Actions
;;;; { superprops; } { e thisprops }; { return <div className="App"> <button onClick= thisonLoginClick >Login</button> </div> }// Place state of redux store into props of component { return account: stateaccount ;}// Place action methods into props { return } mapStateToProps mapDispatchToPropsMain;