Skip to content

Instantly share code, notes, and snippets.

import {ApolloClient, HttpLink, from, fromPromise} from '@apollo/client';
import {setContext} from '@apollo/client/link/context';
import {RetryLink} from '@apollo/client/link/retry';
import {onError} from '@apollo/client/link/error';
import {refresh} from 'react-native-app-auth';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {getTokenSync, getToken} from '../../utils/getToken';
import {test_config, prod_config} from '../../utils/efaasConfig';
```
export const en = {
section: {
app: {
name: 'Aiminaabee',
description: 'Connecting Shops',
description2: 'Aready have an account? ',
login: 'Log In',
privacy: `by continuing, you agree to 's aiminaabee's
Terms of Use and confirm that you have read
@Yasir5247
Yasir5247 / gist:a3e6cc399dc166d877ff00cc68a1e093
Last active November 27, 2021 09:49
apollo-cache-mutations
//----Query-----//
query AuthUserShops($offset: Int!, $limit: Int!) {
authUserShops(offset: $offset, limit: $limit) {
id
__typename
name
avatar
description
categoryId
numProducts