tsdataclinic/smooshr

Explore undo functionality

Opened this issue · 1 comments

Explore how to do this using react context api. Time travel like this is doable with redux, not sure about with context API.

This might be doable with dexie, have a number of states stored and restore state from previous iteration on undo / redo. Might need to some bloat some we might want to just apply it to a few of the persistent storage columns like mappings etc. This I think means breaking out the database from just the JSON serialized storage we have just now.