Skip to content
Discussion options

You must be logged in to vote

Hi,

When using SSR, the preFetch occurs on server and populates the page. Then, when client-side takes over, there is no need to fetch that data again, because it was populated from server-side (and hopefully you saved it on a store).

Continuing on the client-side now, when you visit different pages then Quasar checks if those pages have preFetch and if so, executes them. From what I see in your routes.js screenshot, the rendering page doesn't change when you go from /good/A to /good/B, because it's the same route. What you need is a watcher on the route parameter to trigger the fetch.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rstoenescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants