A tool that generates a strongly typed client library for any GraphQL endpoint. The client allows writing GraphQL queries as plain JS objects (with type safety, awesome code completion experience, custom scalar type mapping, type guards and more)
would be nice if this library had support for query batching.
We currently use apollo-client and it's query batching strategy is to wait with any query fox X ms and if there are any consecutive it just adds them into array and dispatches the array to the server I think. So it should be trivial.
would be nice if this library had support for query batching.
We currently use apollo-client and it's query batching strategy is to wait with any query fox X ms and if there are any consecutive it just adds them into array and dispatches the array to the server I think. So it should be trivial.