feat: keepPreviousResult

This commit is contained in:
Guillaume Chau
2023-06-12 12:26:48 +02:00
parent 13bfbbea98
commit e794c1edde
6 changed files with 156 additions and 2 deletions
+2
View File
@@ -42,6 +42,8 @@
- `throttle`: Throttle interval in ms.
- `keepPreviousResult`: (default: `false`) Whether or not to keep previous result when the query is fetch again (for example when a variable changes). This can be useful to prevent a flash of empty content.
## Return
- `result`: result data object.