README
Slim
Centralized State-Non-Editable State Management With Proxy.
Documentation
QuickStart
Pipeline
Blew picture just only explain how the state transfer.
Attention: hook "beforeSet" only work while Proxy avaliable.
Installation
Scripts Tag
Get the newest version
<!-- slim -->
<script src="https://unpkg.com/slim-store@latest/slim.min.js"></script>
<!-- vslim: slim in vue -->
<script src="https://unpkg.com/vslim@latest/vslim.min.js"></script>
<!-- rslim: slim in react -->
<script src="https://unpkg.com/rslim@latest/rslim.min.js"></script>
NPM
# slim
npm install slim-store
# vslim
npm install vslim
# rslim
npm install rslim
Examples
- Base
- Vue
- React
# install dependencies
npm install
# run server
npm run demo