Skip to content

travis/solid-apollo

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

solid-apollo

npm version travis npm downloads

apollo client for solid

Basic Usage

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.

Installation

$ npm install solid-apollo

License

Hippocratic License

About

Utilities for using ApolloClient to interact with Solid Pods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published