proxy-store

Save react state to javascript store built with es2015 proxy


Keywords
state management, react, es2015, proxy
License
MIT
Install
npm install proxy-store@1.0.6

Documentation

proxy-store

Testing proxy store for react like libraries

How it should work;

import createStore, { observer } from "./store";

let todos = { name:"random", data:["data1", "data2"], age:54, data2: { name:"random2" } };

Create the store from object

let store = createStore(todos);

Add observer to component

@observer class MyComponent extends Component

Then setup is done, have no idea about preformance.

Currently example works with inferno.js