Typescript GraphQL Patterns

Query

const queryClient = useQueryClient();

const { data } = useQuery(getQueryParams(GetOrganizationsDocument, {}, "test-jwt-token"));

Mutation

// Add code here

Last updated