Created
September 15, 2020 08:10
-
-
Save Yassir4/3a2fbd6ea4de6a8e883cb07d30a33eab to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import { NetworkStatus } from '@apollo/client' | |
. | |
. | |
. | |
const { data, error, loading, fetchMore, refetch, networkStatus } = useQuery(REPOSITORIES_QUERY, { | |
variables: { first: 15 }, | |
notifyOnNetworkStatusChange: true, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment