安装
autostore
: 核心包@autostorejs/devtools
: 使用Redux DevTools
调试AutoStore
@autostorejs/syncr
: 远程同步两个AutoStore
autostore
autostore
是核心包,提供了AutoStore
的核心功能。
如果你是Vue
等其他框架的开发者,可以直接使用autostore
。
该包使用new AutoStore
来创建AutoStore
实例。
bash
npm install autostore
bash
yarn add autostore
bash
pnpm add autostore
@autostorejs/devtools
@autostorejs/devtools
是AutoStore
的调试工具包,基于chrome
的Redux DevTools Extension来调试AutoStore
的状态。
bash
npm install @autostorejs/devtools
bash
yarn add @autostorejs/devtools
bash
pnpm add @autostorejs/devtools
@autostorejs/syncer
用来远程同步两个AutoStore
的数据,如在同步browser
和worker
的AutoStore
数据。