Skip to content

Resource

Represents an external resource fetched asynchronously.

dataT | nullThe data if it’s been loaded successfully. Null when not yet loaded or there was an error.
errornull | ErrorThe error loading the resource, if any.
loadingbooleanWhether the resource is still being fetched.