ice/packages/plugin-store
ClarkXia fbeaf932cb
chore: update versions (#6509)
2023-09-14 10:58:37 +08:00
..
src fix: import store source before swc compiler (#6248) 2023-05-17 15:06:17 +08:00
CHANGELOG.md chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
README.md chore: optimize (#676) 2022-11-15 10:33:11 +08:00
package.json chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
runtime.d.ts fix: import path of types and runtime (#5981) 2023-02-28 15:08:10 +08:00
tsconfig.json refactor: import app store (#596) 2022-11-15 10:32:49 +08:00
types.d.ts fix: import path of types and runtime (#5981) 2023-02-28 15:08:10 +08:00

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.