Add isLoading to the return value. Becomes true when there is an ongoing request and data is not loaded yet.
const {
data, error, isValidating, isLoading, mutate
} = useSWRV(key, fetcher, options)Add isLoading to the return value. Becomes true when there is an ongoing request and data is not loaded yet.
const {
data, error, isValidating, isLoading, mutate
} = useSWRV(key, fetcher, options)