apollo-redux-local
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

apollo-redux-local

Use Redux to provide local GraphQL resolvers

CircleCI GitHub repository semantic-release Maintenance status as of 2019

Installation

npm install --save apollo-redux-local

Usage

const store = createStore(
  reducer,
  {},
  applyMiddleware(createApolloMiddleware())
);

const cache = new InMemoryCache();
const client = new ApolloClient({
  cache,
  link: myApolloLink
});


store.dispatch(registerClient(client));

Readme

Keywords

none

Package Sidebar

Install

npm i apollo-redux-local

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

14.5 kB

Total Files

6

Last publish

Collaborators

  • ryaninvents