-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
Adding a status
prop (enum) will make it easier to switch views based on the status of the Promise. We can also use this prop to create separate TypeScript interfaces for each state, where data
or error
are non-optional. This will greatly enhance usability for TypeScript users.
Possible states:
pending
loading
resolved
rejected
Metadata
Metadata
Assignees
Labels
No labels