Module

reduxChoirsTabReducer

Redux choirs tab reducer
Author:

View Source store/reducers/choirs.js, line 5

Members

# inner constant initialState

Initial choirs tab state
Properties:
Name Type Description
selectedChoirId string The selected choir id
selectedChoirName string The selected choir name

View Source store/reducers/choirs.js, line 17

Methods

# inner choirsReducer(state, action) → {object}

Updates Redux choirs state based on an action type and a payload
Parameters:
Name Type Description
state object The current state
action object Any needed data (including the action type)

View Source store/reducers/choirs.js, line 29

The new state
object