0
Usage : Getting global store
Pratik Bhattacharya редактировал(а) эту страницу 2020-10-21 03:11:57 +05:30
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.