Table of Contents


Main 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. firebaseReducer is made up of multiple "slice reducers" (outlined in reducers docs) combined using combineReducers following the patterns outlined in the redux docs.


  • state Object Current Firebase Redux State (state.firebase)
  • action Object Action which will modify state
    • action.type String Type of Action being called
    • action.path String Path of action that was dispatched
    • String Data associated with action

Returns Object Firebase redux state

results matching ""

    No results matching ""