beforesemicolon/client-web-storage

Introduce a way to manage global app states

Closed this issue · 0 comments

The client store works perfectly when you have data list but not all data in the app is a list or should go in a table/document.

should have something like

const appState = new GlobalState(“app”, {
   foo: String;
   bar: Number;
});

appState.update({foo: “sample”});
appState.update("bar", 12); // or

this will be greate because it will take advantage of the built-in validation, events, intercepts, etc. all the things that make ClientStore great.

expected util similar to the ones for ClientStore