useFetch refresh failing to recognise new query params
I have a simple page with this useFetch code at the start:
However refresh() won't use the new route query param. If I put
What's happening???
However refresh() won't use the new route query param. If I put
{{ route.query.q }} in the page it shows the new query param but refreshing through the watch OR a button with refresh() manually shows the API as recieving the old query paramWhat's happening???