Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 23, 2022 06:37 pm GMT

GraphQL Nextjs Help

Hey,
I have a problem here. I have searched alot to find the solution for this issue but didnt found any helpful solution for my problem
let's get straight into the point

I have a nextJs app that's connected to the graphql api ,when I connect the Nextjs with the websockets link it generate an error :(

here's the client code
Image description

and here's the error

Image description

here's the subscription query

Image description

I tried a lot and I have built this app in ReactJs and I it's worked perfectly I guess the problem in the SSR

thanks in advance


Original Link: https://dev.to/yossefmohamed/graphql-nextjs-help-2oe8

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To