samiz-dat / hyper-reader

an editor for hyper-readings based on substance.io
http://www.hyperreadings.info
20 stars 4 forks source link

Implement state management #8

Open e-e-e opened 6 years ago

e-e-e commented 6 years ago

At the moment app state is handled in the HyperReadingsArchive class, which forces the app to rerender via calls to HyperReadingsArchive._update(). This is super inefficient - we should look at implementing redux, and perhaps building a generic connect library for substance - similar to react-redux.