Redux choirs tab reducer
Members
# inner constant initialState
Initial choirs tab state
Properties:
Name | Type | Description |
---|---|---|
selectedChoirId |
string | The selected choir id |
selectedChoirName |
string | The selected choir name |
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) |
The new state
object