Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 962 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 962 Bytes

Apollo Client with @defer support

This branch of apollo-client has @defer support on top of the latest master, along with a fix for apollographql#4484.

As soon as I can make https://github.com/rmosolgo/graphql_defer_example work without this fork, I'll stop maintaining it.

Installing

This repo contains several TypeScript libraries which must be copied locally, "compiled", then installed with yarn.

Copy & Compile

$ git submodule add [email protected]:rmosolgo/apollo-client.git
$ # installs this fork into `./apollo-client`
$ cd apollo-client
$ npm install
$ # installs dependencies and compiles typescript

Installing from local files

Add to your package.json, for example, apollo-boost:

  "apollo-boost": "file:./path/to/apollo-client/packages/apollo-boost",

(If you need specific other packages, do the same thing for those other packages.)

Then, yarn install.