NuxtN
Nuxt3y ago
dmarr

useLazyFetch initial load not pending

I have a question about showing a loading state. In a simple example, I am trying to use the pending state from useLazyFetch on initial page load. Pending only appears to get set when I use the refresh method. Why does useLazyFetch appear to block on initial server page load? I have tried using await and not await, they don't seem to matter.
Was this page helpful?