Module

reduxAppReducer

Redux app reducer
Author:

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

Members

# inner constant initialState

Initial app state
Properties:
Name Type Description
isMobileBrowser boolean Indicates if the user's brower is a mobile browser

View Source store/reducers/app.js, line 16

Methods

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

Updates Redux app 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/app.js, line 27

The new state
object