Resource
Represents an external resource fetched asynchronously.
Members
Section titled “Members”| data | T | nullThe data if it’s been loaded successfully. Null when not yet loaded or there was an error. |
| error | null | ErrorThe error loading the resource, if any. |
| loading | booleanWhether the resource is still being fetched. |