Urtrope-Designs / SelecQuest

MIT License
2 stars 0 forks source link

Smarter GameData persistence #107

Open scunningham777 opened 4 years ago

scunningham777 commented 4 years ago

Currently the code that persists game data to local storage is triggered four times for every task that is completed. I need to think about it a bit and make sure we are only persisting once per cycle. We probably do need to store all info though, so we still need to subscribe to the full AppState observable, but we might need to hook into the Action observable as well.