On my current React project, we are using the hooks provided by Apollo to fetch and mutate data with GraphQL. One of the components I wrote had a query that relied on data from a previous query. The component looked similar to this example:
Full article