\"@apollo/react-hooks\": \"^3.1.3\", \"apollo-client\": \"^2.6.8\",
Apollo client return undefined on react app but return the data on gql playgrou
It's kind of a late answer but I had the same issue where my playGround returned a correct response but not the useQuery hook.
My problem was that the variable given to the query, in your case 'id', was of type String instead of Number.