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
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
Bumping – can someone provide an answer for this?
Maybe apollo-fetch is the answer.
https://github.com/apollographql/apollo-fetch#simple-graphql-query