I need some help using the new Query and Mutation component in Apollo 2.1, especially with multiple queries and mutations.
I have the following problems:
Asides from using compose
from react-apollo
, another great utility library you can check it out is react-adopt. A great small utility lib that helps you to compose multiple render props
type components so you don't have a nested hell patterns.
I have wrote a similar answer that basically covers all your current needs in terms of:
Here's the detailed answer you're looking for & hopefully can be helpful to solving your problems :)