apollo client for solid
import { ApolloProvider } from '@apollo/react-hooks';
import { ApolloClient } from 'apollo-client'
import { SolidLink } from 'solid-apollo'
const client = new ApolloClient({
cache: new InMemoryCache({ addTypename: false }),
link: new SolidLink(context, ["https://tvachon.inrupt.net/profile/card#me"])
})
const App = () => (
<ApolloProvider client={client}>
<div>
<h2>My first Apollo app</h2>
</div>
</ApolloProvider>
);
See travis/solid-apollo-example for a working example.
$ npm install solid-apollo
Hippocratic License