react-apollo gql, TypeError: Object(…) is not a function
问题 I have a App component that I am wrapping into a apollo provider: import React, { Component } from "react"; import { observer, Provider } from "mobx-react"; import { BrowserRouter as Router } from "react-router-dom"; import styled from "styled-components"; import { ThemeProvider } from "styled-components"; // graphQL import { ApolloClient } from "apollo-client"; import { createHttpLink } from "apollo-link-http"; import { setContext } from "apollo-link-context"; import { InMemoryCache } from