Table of Contents
firebaseStateReducer
Reducer for react redux firebase. This function is called automatically by redux every time an action is fired. Based on which action is called and its payload, the reducer will update redux state with relevant changes.
Parameters
state
Map Current Redux State (optional, defaultinitialState
)action
Object Action which will modify state (optional, default{}
)
Returns Map Redux State.