mesqueeb/vuex-easy-firestore

Reacting to changes in vue-router

alpkabac opened this issue · 1 comments

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?

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