mirror of https://github.com/alibaba/ice.git
* chore: update versions * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: ClarkXia <xiawenwu41@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| README.md | ||
| package.json | ||
| runtime.d.ts | ||
| tsconfig.json | ||
| types.d.ts | ||
README.md
@ice/plugin-store
A plugin of state management base on Redux and React Redux used in ice.js`.
Usage
import { defineConfig } from '@ice/app';
import store from '@ice/plugin-store';
export default defineConfig(() => ({
plugins: [
store(),
],
}));
Options
disableResetPageState- The default value is
false. - After it is turned on, the page state will not be reinitialized after switching the page and entering the original page again.
- The default value is