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, default initialState)
  • action Object Action which will modify state (optional, default {})
    • action.type String Type of Action being called
    • action.data String Type of Action which will modify state

Returns Map Redux State.

results matching ""

    No results matching ""