react-appsync-graphql-recipe-app icon indicating copy to clipboard operation
react-appsync-graphql-recipe-app copied to clipboard

compose is not defined

Open jschloer opened this issue 6 years ago • 2 comments

I get an error about a missing compose function from Recipes.js. Looks like just removing that function gets things to build and run and more closely matches the article.

jschloer avatar Apr 06 '18 09:04 jschloer

You can get compose from apollo

import { compose } from 'react-apollo';

Or if you prefer/are using lodash:

$ yarn add lodash

import compose from 'lodash/fp/compose';

jsteenkamp avatar Apr 07 '18 23:04 jsteenkamp

Thank's @jsteenkamp that help me

rboughani avatar Mar 08 '19 10:03 rboughani