python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to pass sessionStorage via headers using async await with graphql mutations
I need to pass the sessionStorage dynamically through apollo client via graphql Mutations
but we use async/await to use graphql mutations, can anyone help me?
Sonam Patro
Votes: 0
Answers: 1
Problem with CORS when using cookies in apollo-server-rexpress and create-react-app
I am using apollo-server-express in the backend and react in the frontend. I want to use cookies for authentication so I set up my server like in the code below, which is the result of multiple tutori...
Rurpot
Votes: 0
Answers: 1
React Router | URL parameter as variable *without* useParams?
I'm currently working on this page of the Apollo Odyssey tutorial: https://www.apollographql.com/tutorials/lift-off-part3/the-usequery-hook---with-variables
I came to an interesting realization here: ...
Acea Spades
Votes: 0
Answers: 1
Apollo client only returns { __typename: 'Typehere' } when fetchPolicy is not 'no-cache'
I have a query that returns the sample data below
{
__typename: 'Typehere',
name: 'type',
address: 'address type'
}
When I use useQuery with an option of fetchPolicy: 'cache-first' the GQL API...
gbg
Votes: 0
Answers: 1