-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add @defer
support to useSuspenseQuery
#10324
Conversation
94168e5
to
e0db997
Compare
f65b6c5
to
f4e0ece
Compare
e0db997
to
3354562
Compare
🦋 Changeset detectedLatest commit: f164786 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
bcb2e7b
to
6eec38c
Compare
5e59c45
to
1293337
Compare
// created from `reobserve`. This function provides the original `reobserve` | ||
// functionality, but returns a concast instead of a promise. Most consumers | ||
// should prefer `reobserve` instead of this function. | ||
public reobserveAsConcast( |
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.
Feel free to suggest a different name for this
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.
Super excited for this!! 🎉🙌
Same test is flaky as the |
Relates to #10231 and #10286
Adds
@defer
support foruseSuspenseQuery
usage. Detailed design on behavior can be found in the RFC under the "Usage with @defer" heading.Checklist: