Replies: 2 comments
-
Hello, I have the same question, can we get in touch and help each other out? Are you in the Svelte Discord server maybe? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@thojanssens - sorry i didn't follow up on this. This is what i ended up using. Written this way, Svelte will react to changes in carId which will prompt a new query run. Let me know if that doesn't help you and i can DM on discord.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi - I have a query where i supply an ID but when that ID changes the query does not re-run. I have a Svelte app and am using svelte-spa-router to get the variable from the URL. I have an anchor tag elsewhere in the page where the user can navigate to a different CarId. I can
console.log(params.carId)
and see that it changes, however the query is never re-run. Am i doing something wrong?Beta Was this translation helpful? Give feedback.
All reactions