elgerlambert/redux-localstorage

Ability to persist to local storage while the app is running (setInterval...)

lduros opened this issue · 0 comments

I'm using redux-localstorage in Electron, and in the case the app crashes or someone uses Ctrl-C from the app started from the terminal, the latest changes to redux during the session will not be persisted.

What I would like to do is make sure it gets persisted from time to time, I'm not sure whether this is possible, it might be a more global issue with LocalStorage and how the application/browser exits, but I thought I'd ask if anyone has figured out a proper way of doing this.

Thanks