I would consume the GraphQL API on the front end using react-apollo/hooks.
The pattern shown in this example use the render prop pattern, which was previously used by Apollo (and previous Context API) and leads to the 'component callback hell' which affects readability.
I think the apollo hooks approach (that leverages the new Context API) is much cleaner and more readable :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would consume the GraphQL API on the front end using react-apollo/hooks.
The pattern shown in this example use the render prop pattern, which was previously used by Apollo (and previous Context API) and leads to the 'component callback hell' which affects readability.
I think the apollo hooks approach (that leverages the new Context API) is much cleaner and more readable :)