Skip to content

Commit

Permalink
Update resources.mdx (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
IdrisAdeyemi01 committed Jan 22, 2024
1 parent 5f33d8c commit c616f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/learning/resources.mdx
Expand Up @@ -44,7 +44,7 @@ The are also other convenience methods to handle only specific states:
- `on` forces you to handle all the states of a Resource
- `maybeOn` lets you decide which states to handle and provide an `orElse` action for unhandled states
- `map` equal to `on` but gives access to the `ResourceState` data class
- `maybeMap` equal to `maybeMap` but gives access to the `ResourceState` data class
- `maybeMap` equal to `maybeOn` but gives access to the `ResourceState` data class
- `isReady` indicates if the `Resource` is in the ready state
- `isLoading` indicates if the `Resource` is in the loading state
- `hasError` indicates if the `Resource` is in the error state
Expand Down

0 comments on commit c616f4d

Please sign in to comment.