Skip to main content

rememberStoreState

Function rememberStoreState 

Source
pub fn rememberStoreState() -> State<StoreState>
Expand description

The store’s current state, observed for as long as this call stays in the composition.

The composition recomposes when the backend publishes news; nothing polls and no frame loop is required for a purchase that completes while the screen is idle.