useFetch data not reactive
Hey! So I have a simple/new nuxt app with 2 pages,
/index
and /tenants
Each page has an HTTP request to a backend service elsewhere. When I refresh the page, it the data loads fine, but when I navigate to another page, the data does not "load". By this I mean the state does not get updated with the newly fetched data (I can see the network request in devtools). Below is the relevant code:
tenants.vue
index.vue
Below is the structure of Get
Oddly, the issue goes away after the first page navigation, and the code works as expected0 Replies