-
Notifications
You must be signed in to change notification settings - Fork 23
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
usePreloadedQuery - should make squigglehub faster #2131
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
This is ready. No The pattern for loading data in Next.js pages is a bit verbose, so I added some documentation notes. Loading states are still there; my understanding is that in many cases Next.js is able to load some parts of the UI immediately thanks to suspense and streaming, so it works as intended. The client waits for the server to send page contents, but doesn't hit the API itself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like things load a fair bit faster, happy to see that.
Most of the code seems like it's just adding this pattern around. I'm trusting you on this pattern.
Based on https://github.com/relayjs/relay-examples/tree/main/issue-tracker-next-v13.