Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add isLoading and update documentation

Latest

Choose a tag to compare

@adamdehaven adamdehaven released this 21 Jan 16:16
· 1 commit to master since this release
dbed212

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)