ice/packages/plugin-store
github-actions[bot] e3ca513f56
chore: update versions (#5949)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-03-02 13:55:59 +08:00
..
src fix: import path of types and runtime (#5981) 2023-02-28 15:08:10 +08:00
CHANGELOG.md chore: update versions (#5949) 2023-03-02 13:55:59 +08:00
README.md chore: optimize (#676) 2022-11-15 10:33:11 +08:00
package.json chore: update versions (#5949) 2023-03-02 13:55:59 +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.