Some slight refactors to avoid using useFetch to perform fetches. (It's a composable that should only be called in Nuxt plugins or component setup functions.)
So useRequestFetch() returns a fetch() with the current request context? Just to make sure, it doesn't return undefined in non-SSR context like useRequestEvent(), right?
Some slight refactors to avoid using
useFetch
to perform fetches. (It's a composable that should only be called in Nuxt plugins or component setup functions.)