Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (17 loc) · 389 Bytes

MIGRATION.md

File metadata and controls

21 lines (17 loc) · 389 Bytes

Migrating from 0.1.x to 0.2.0

Before

import { graphql, gql, ApolloError } from 'react-apollo';

After

import { graphql } from 'react-apollo';
import { ApolloError } from 'apollo-client';
import gql from 'graphql-tag';

Issues

  • If you you encounter npm ERR! Cannot read property '0' of undefinedthen remove node_modules and reinstall the packages.