Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My graphiql Yoga enviorment is lagging and not responsive #1976

Closed
Tracked by #1358
wakywayne opened this issue Oct 30, 2022 · 4 comments
Closed
Tracked by #1358

My graphiql Yoga enviorment is lagging and not responsive #1976

wakywayne opened this issue Oct 30, 2022 · 4 comments
Assignees

Comments

@wakywayne
Copy link

Describe the bug

Basically, I can't do anything the cursor doesn't move with the text and if I type the word mutation it takes about 30 seconds to appear. I cannot highlight or use my cursor for anything.

I have tried:

  1. restarting the server
  2. clearing the url
  3. Completely removing node modules folder and reinstalling the dependency

If anyone else is having or had this issue please comment. As I literally cannot use my graphiql environment

Your Example Website or App

https://github.com/wakywayne/wrestling-event-coordinator

Steps to Reproduce the Bug or Issue

to reproduce the issue make a server and see if you have a similar problem

Expected behavior

I expect graphiql to be responsive like it has been for the past few day all of asudden it stopped working.

Screenshots or Videos

No response

Platform

  • OS: windows
  • NodeJS: 18.1.0
  • "@graphql-yoga/node": "^2.13.13",

Additional context

No response

@enisdenjo enisdenjo self-assigned this Nov 8, 2022
@enisdenjo
Copy link
Collaborator

Hey there, thanks for reporting this issue! I see you're using an older version of Yoga, do you experience the same problem with the latest v3 version and it's GraphiQL?

@theguild-bot theguild-bot mentioned this issue Nov 9, 2022
@wakywayne
Copy link
Author

No, I updated to the latest version and it went away thank you!!

@wakywayne
Copy link
Author

I also have a question. With the new version of react and nextJS having server components how do you guys recommend querying the yoga instance in a server component since you can't use apollo client In a server component? Thanks again my yoga grapiql is working great now that I updated

@enisdenjo
Copy link
Collaborator

Awesome, I am happy to hear everything works in v3!

how do you guys recommend querying the yoga instance in a server component since you can't use apollo client In a server component?

I am not sure it makes a big difference, you still end up making a regular HTTP request to Yoga, right? But I might've oversimplified this answer, I recommend opening a discussion and asking the same question - gives us a chance to think about it thoroughly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants