Overstacked

How to execute a query 🚀

Explore the optimal way to execute queries from our client.

Executing a query is just about sending a request to our server. How we actually do that though is a bit more nuanced.

We'll explore the optimal way to execute queries from our client.

  • Using fetch
  • Using a library like apollo/client
  • Using a library with auto-generated hooks.

The choice you land on comes down to the type of project you're building. GraphQL can be used for client-server, server-server and with countles different libraries, like React, Vue, Angular, Svelte, etc.

There are plently of tools available to connect GraphQL to your library in a smart way.