🪓 Removed apollo-client

This commit is contained in:
2026-03-05 11:55:46 -05:00
parent ec52906eca
commit 2b4ee716e3
5 changed files with 420 additions and 1082 deletions

View File

@@ -1,19 +0,0 @@
import { ApolloClient, InMemoryCache, HttpLink } from '@apollo/client';
import { LIBRARY_SERVICE_HOST } from '../constants/endpoints';
const httpLink = new HttpLink({
uri: `${LIBRARY_SERVICE_HOST}/graphql`,
});
export const apolloClient = new ApolloClient({
link: httpLink,
cache: new InMemoryCache(),
defaultOptions: {
watchQuery: {
fetchPolicy: 'cache-and-network',
},
query: {
fetchPolicy: 'network-only',
},
},
});