Redux startup reducer
Members
# inner constant initialState
Initial startup state
Properties:
Name | Type | Description |
---|---|---|
isDone |
boolean | Indicates if the app startup is done |
Methods
# inner startupReducer(state, action) → {object}
Updates Redux startup 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