getAppState function #

The getAppState function is a quick way to retrieve a store.

// import the function
import { getAppState } from 'https://cdn.skypack.dev/ficusjs@3'

// retrieve a store instance
const storeInstance = getAppState('my.another.store')