Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / @skava/create-apollo-client   js

Repository URL to install this package:

Version: 0.6.2 

  README.md

@skava/create-apollo-client

Usage

import {
  cache,
  createApolloClient,
  consoleLink,
  errorLink,
  httpLink,
  ApolloLink,
} from '@skava/create-apollo-client'
import { stateLink } from './apolloState'

const link = ApolloLink.from([consoleLink, errorLink, stateLink, httpLink])
const client = createApolloClient({ link })
export { cache, client }

Usage - with ssr rehydrate

TODO

  • documentation
  • cli to eject it

Learn More