-
Notifications
You must be signed in to change notification settings - Fork 64
Usage : Getting global store
Pratik Bhattacharya edited this page Oct 20, 2020
·
1 revision
GlobalStore
is a singleton, and is created the first time any of the apps try to get an instance of GlobalStore
.
import { GlobalStore } from 'redux-micro-frontend';
let globalStore = GlobalStore.Get();
This globalStore
object now needs to be used to registering stores, dispatching actions or subscribing to state changes.