Module

reduxPracticeTabReducer

Redux practice tab reducer
Author:

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

Members

# inner constant initialState

Initial practice tab state
Properties:
Name Type Description
selectedChoirId string The selected choir id
selectedChoirName string The selected choir name
selectedSheetMusicId string -
exercise object The requested exercise (if one exists)
startMeasure string The start measure
endMeasure string The end measure
doesUserGetFeedback string Indicates if the user gets feedback

View Source store/reducers/practice.js, line 22

Methods

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

Updates Redux auth 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/practice.js, line 37

The new state
object