Skip to content

App Store

State

statedescription
isAuthenticatedused to indicate if the application is in an authenticated state or not
loadingused to indicate if the application is in a loading state. Typically used for async api requests
notificationused to hold a global notification object set by actions. The Toast typically receives these notifications.

Getters

getterdescription
isAppReadyreturns true based on the loading state
getNotificationreturns notification state

Actions

actiondescription
setAuthenticatedsets the application isAuthenticated state as well as saves to the browser session. This allows for browser refreshes to not lose state.
setLoadingset the loading state
setNotificationset the notification state
clearNotificationclear the notification state