react making queries code example
Example: appolo client variables pass
export default graphql(QueryTodos, {
options: (props) => ({ variables: { userId: props.userId } })
})( Home );
export default graphql(QueryTodos, {
options: (props) => ({ variables: { userId: props.userId } })
})( Home );