vue-query-synchronizer
vue-query-synchronizer copied to clipboard
Query props not reactive when going in history
When a user goes back or forth in the browser history, the URL is changed but the values in components remain old.
I think the problem is in handler.setQuery() function. It is missing the reactive Vue.set/delete call for the changed parameters.
To simulate this problem, switch to the vue-2 branch, start it, change something in the form and the click the back button in the browser. The form remains unchanged.
v2.4.1, Vue 2
P.S. Thanks for this awesome library, extremely useful! ❤️