Tag: apollo
-
WrappedComponent is undefined
1 I am stuck trying to implement graphql with react-apollo and graphcool. I am following this Tutorial My code with the request query looks like this : import React from ‘react’; import { graphql } from ‘react-apollo’ import gql from ‘graphql-tag’ const ALL_INSPECTIONS_QUERY = gql` # 2 query AllInspectionsQuery { allInspections { id date observation…
-
Refetch queries server side after a client side mutation apollo client
0 I’m using the experimental version of graphql and apollo client together with next13 and at one point in my code I perform a mutation in a client side component to delete data and I need the query that was performed in a server side component to be re-done for the list of results to…