This repository has been archived by the owner on Feb 6, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow skipping all refetching when performing mutation
Fixes #18 There are cases when it's not important enough for a mutation to refetch queries. For example, a like counter component will most likely keep track of likes in a local state to ensure instant response on click to increment a counter. In that case, it's only important to increment like counter on backend and not spend bandwidth on unnecessarily refreshing other parts of the page. This change allows `refetchQueries` to be set to `false` to disable any kind of refetching
- Loading branch information
Vadim Demedes
committed
Dec 4, 2019
1 parent
1de0c15
commit fbd463c
Showing
4 changed files
with
160 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters