]> git.r.bdr.sh - rbdr/forum/blame - src/config/apollo.js
Add loader component
[rbdr/forum] / src / config / apollo.js
CommitLineData
c1bc5993
RBR
1import { ApolloClient, InMemoryCache } from '@apollo/client/core';
2import { apollo as apolloConfig } from './config';
3
4const cache = new InMemoryCache();
5
6export const client = new ApolloClient({
7 cache,
8 ...apolloConfig
9});