Merge multiple queries into a single query like relay

Does Apollo Client have future plans to merge multiple queries / fragments into a single query like relay? Or is there a tool out there that can do this? I know about the batch link, but that isn’t the same as merging queries into one. Thanks in advance!

Hi! We’re actually working on a useFragment hook for the 3.5 release. There isn’t anything formal written up yet, but you can see some of the thinking here: Feature: useFragment hook · Issue #8236 · apollographql/apollo-client · GitHub

1 Like

Thanks for the quick reply!