Constructor
# <Startup isAuthenticated startupDone />
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
isAuthenticated |
bool | No | Indicates if there is an authenticated user | |
startupDone |
func | Yes | Indicates if the app startup is done |
Extends
- Component
Members
# state
Startup component state
Properties:
Name | Type | Description |
---|---|---|
windowInnerHeight |
number | The inner height of the window (used to resize the component) |
Methods
# static mapDispatchToProps(dispatch) → {object}
Passes certain Redux actions to the Startup component as props.
This function is used only by the react-redux connect function.
Parameters:
Name | Type | Description |
---|---|---|
dispatch |
function | The react-redux dispatch function |
Redux actions used in the Startup component
object
# static mapStateToProps(state) → {object}
Gets the current state from Redux and passes parts of it to the Startup component as props.
This function is used only by the react-redux connect function.
Parameters:
Name | Type | Description |
---|---|---|
state |
object | The Redux state |
Redux state properties used in the Startup component
object
# componentDidUpdate()
Tells Redux when app startup is done