0.0.7 • Published 7 years ago
@marvinh/proxystate v0.0.7
proxystate
A tiny reactive library similar to MobX, but based on proxies. It uses google chrome's polyfill under the hood.
# npm
npm install @marvinh/proxystate
# yarn
yarn add @marvinh/proxystate
Usage
import { observable, observer } from "@marvinh/proxystate";
const obj = observable({ foo: "bar" });
observe(() => console.log(obj.foo));
obj.foo = 2;
// logs: 2
License
MIT
, see License file.