Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Query props not reactive when going in history #25

Open
ivopisarovic opened this issue Jan 21, 2022 · 0 comments
Open

Query props not reactive when going in history #25

ivopisarovic opened this issue Jan 21, 2022 · 0 comments

Comments

@ivopisarovic
Copy link

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! ❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant