1.0.1 • Published 5 years ago
aka-immutable-store v1.0.1
aka-immutable-store
Install
npm install --save aka-immutable-storeFeatures
- Customize immuatble redux store
- Durable redux storeInstall
- Install aka-immutable-store
npm install aka-immutable-storeHow it work
Override process env
- Init redux store instance:
import { initRootStore } from "aka-immutable-store";
initRootStore(store);- Get current state:
import { getRootState } from "aka-immutable-store";
getRootState();- Dispatch a action as root:
import { rootDispatch } from "aka-immutable-store";
rootDispatch(type, payload);- Dispatch a debounce action as root:
import { debounceRootDispatch } from "aka-immutable-store";
debounceRootDispatch(type, payload, wait = 2000);LICENSE
MIT
