Which one should you use?
Thanks! for the great article, Ashish
On the client side, do we always need a GraphQL client responsible for building the GraphQL queries that are being sent to the server?
As GraphQL queries have a standard format, I guess GraphQL client should always be used as a component on the client side.
Thanks for your kind words!
You don’t always need a GraphQL client—GraphQL queries are just HTTP requests, so you can use fetch or Axios. However, clients like Apollo or Relay help with caching, batching, and state management, making them useful for larger applications.
Thanks! for the great article, Ashish
On the client side, do we always need a GraphQL client responsible for building the GraphQL queries that are being sent to the server?
As GraphQL queries have a standard format, I guess GraphQL client should always be used as a component on the client side.
Thanks for your kind words!
You don’t always need a GraphQL client—GraphQL queries are just HTTP requests, so you can use fetch or Axios. However, clients like Apollo or Relay help with caching, batching, and state management, making them useful for larger applications.