|
|
|
|
|
by probabletrain
743 days ago
|
|
> clients create re-usable fragments for every object in the system and use it everywhere I quite like Relay's pattern where components define their data requirements, and this is passed up the component tree to some query at the root. Avoids a situation where the query defined at the root asks for unnecessary fields because it's so far away from where the data is actually required. https://relay.dev/docs/principles-and-architecture/thinking-... |
|