Ask questionsAttempted import error: 'compose' is not exported from 'react-apollo'
After upgrading react-apollo to 3.0.0 the following error message is presented:
Attempted import error: 'compose' is not exported from 'react-apollo'
Answer
questions
Falieson
@rooch84 any default import can be named whatever you want. these are all equivalent:
The reason @hwillson is probably using the * as notation is TypeScript.
import flowright from "lodash.flowright";
import foobar from "lodash.flowright";
import compose from "lodash.flowright";
Related questions