docs: remove references to useResult

This commit is contained in:
Guillaume Chau
2022-05-02 18:34:13 +02:00
parent 9a391cc052
commit 2e65263329
9 changed files with 140 additions and 372 deletions
-13
View File
@@ -1,13 +0,0 @@
# useResult
## Parameters
- `result`: `Ref` holding the result data from an Apollo operation.
- `defaultValue`: (default: `null`) Default value used if the data isn't available.
- `pick`: (default: `null`) Picking function that get the data object as parameter and should return a derived object from it.
## Return
`useResult` return a `Ref` containing the picked data from the result data.