Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reacting to changes in vue-router #358

Open
alpkabac opened this issue Nov 15, 2020 · 1 comment
Open

Reacting to changes in vue-router #358

alpkabac opened this issue Nov 15, 2020 · 1 comment

Comments

@alpkabac
Copy link

I have an app that uses the same module in different routes. When I navigate to one from another and return back, I see the posts fetched by page two in page one since state is populated. I've found a solution by watching the route changes and resetting the state, but everytime I do that, it needs to fetch videos again, which means high read counts. Is simplier and more practical way to approach this?

@louisameline
Copy link
Collaborator

Just remember which items are related to which pages? It is pagination.

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

No branches or pull requests

2 participants