Skip to main content

get

get(fn, storeId)

get(storeId, fn)

Retrieves state from a store. Both parameters are optional.

ParameterDescription
storeIdThe name of the store to use.
fnThe function to execute with the current state.
Live Editor
Result
Loading...