I have a queries file that looks like this:
import {gql} from \'react-apollo\'; const queries = { getApps: gql` { apps { id name
For Apollo 2.x: you can use react-adopt to compose the Queries and Mutations into a single level. (That lib will compose any components with render props, e.g. the React Context API.)
react-adopt
https://github.com/pedronauck/react-adopt