You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allowing the client to be provided to useQuery, useMutation, and useSubscription would allow the use of multiple clients in the same context, something not currently possible.
The api would look like this:
const client = createClient({
url: '/graphql' // your endpoint.
});
const { data } = useQuery({
client,
query: '{ todos { text } }'
});
The text was updated successfully, but these errors were encountered:
Allowing the client to be provided to useQuery, useMutation, and useSubscription would allow the use of multiple clients in the same context, something not currently possible.
The api would look like this:
The text was updated successfully, but these errors were encountered: