bvttercvp
Data fetching on SSR using useFetch/useAsyncData does not work on page refresh/reload
I am already using
requestFetch
and some of the other suggestions are not applicable to mine as it's simply not calling the API in SSR since no logs can be found.7 replies
useRequestFetch does not pass cookie when path is not "/" on ssr
If anyone stumbled upon this issue, I have made the refresh in client-side, then call
refresh
method of useFetch
or useAsyncData
to retrieve the new token from an httponly cookie.11 replies