profile
viewpoint

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'

apollographql/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";
useful!
source:https://uonfu.com/
answerer
Florian Mettetal Falieson Juul Labs San Francisco, CA twitter.com/falieson Author of TGRstack. Typescript 🚀GraphQL 🚀React 🚀 Linux 🚀and other nerdy stuff!
Github User Rank List