vue-electron / vuex-electron

Integration of Vuex and Electron
MIT License
305 stars 96 forks source link

Debounce option to avoid file errors if there are rapid, multiple mutations and/or a large state #28

Closed michaeljpeake closed 5 years ago

michaeljpeake commented 5 years ago

Fixes #27

This adds the option of debouncing state changes, which can prevent file writing errors if there are rapid mutations on a large state. The debouncing is entirely optional and so is not a breaking change.

NoelDavies commented 5 years ago

Can we please merge this in? This would solve a lot of issues for a lot of people I feel