Apollo-client: Component hierarchy including queries and apollo

Created on 26 Apr 2016  路  2Comments  路  Source: apollographql/apollo-client

With React and Relay, a developer can add GraphQL query fragments in each React component and Relay understands to build a hierarchy of the required data in the store.

https://facebook.github.io/relay/docs/guides-containers.html#containers-are-higher-order-components
https://facebook.github.io/relay/docs/thinking-in-relay.html#data-components-aka-containers

I read that the apollo-client aims to have "Query aggregation from your UI tree". Is the meaning the same thing?

Scott

Most helpful comment

Duplicate of #148

Yep, that's the same thing!

All 2 comments

Duplicate of #148

Yep, that's the same thing!

Thanks for the clarification!

Scott

Was this page helpful?
0 / 5 - 0 ratings