Get data in container


#1

Hello,

How Can I get data inside container?
My query is:

const getAllBranches =gql`
  query {
    getAllBranches {
      _id
      slug
      name
    }
  }
`;

I don’t want to wrap it into component by graphql


#2

Bumping – can someone provide an answer for this?


#3

Maybe apollo-fetch is the answer.

https://github.com/apollographql/apollo-fetch#simple-graphql-query