I am using react , Apollo client , hooks
I am wanting to make 2 separate ajax calls , and once is get back the results of both the calls , I have to build a component with values retrieved from both the calls.
Is there any well know patterns to be followed for such use case.
Unfortunately, unable to combine the 2 graphql query in to 1.
Read more here: https://stackoverflow.com/questions/66305425/react-component-to-be-displayed-as-a-summation-of-2-ajax-calls
Content Attribution
This content was originally published by anandharshan at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.