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