aryan
02/17/2017, 6:42 PMexport default compose(
withRouter,
graphql(FeedQuery, feedQueryOptions),
graphql(userQuery, { options: { forceFetch: true }}),
)(Module)
if you look at the two graphql() lines, those are both the data portion of my compose. It seems like only the second one gets composed on my component. I'm guessing because props.data gets overwritten? What do you do when you have multiple datas?
One option I can think of is renaming the second one so it doesn't go into props.data, but not sure if that's the best/common practicevinspee
02/17/2017, 6:46 PMname property to your graphql parametersvinspee
02/17/2017, 6:47 PMvinspee
02/17/2017, 6:47 PMaryan
02/17/2017, 6:53 PMaryan
02/17/2017, 6:54 PMnilan
02/17/2017, 6:57 PM