AriaFallah / mobx-store

A data store with declarative querying, observable state, and easy undo/redo.
MIT License
282 stars 9 forks source link

Future of library. #32

Closed AriaFallah closed 8 years ago

AriaFallah commented 8 years ago

This project started as me wanting to

  1. Make a better lowdb
  2. Make the better lowdb have good React interop

I think I did both those things really well thanks to mobx, but in the end this isn't really a store as much as it is a really nice abstraction and a collection of helper functions.

Since I'm out of ideas, if anyone else has any suggestions, I'd appreciate if you posted them here.

AriaFallah commented 8 years ago

Just realized that mobx-react-devtools groups changes when logging actions. If I can do that, then I can undo a bunch of changes at once, and stop worrying about atomically making changes, which doesn't really suit the MobX programming style.

TL;DR: Undo/Redo transactions