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

fix(solid): Correctly track query data reads with suspense #3672

Merged
merged 2 commits into from
Sep 14, 2024

Conversation

XiNiHa
Copy link
Contributor

@XiNiHa XiNiHa commented Sep 13, 2024

Summary

This PR fixes a bug in @urql/solid that the change tracking for query.data is not working when the client has suspense: true.

Set of changes

Read data from the store instead of the resource, so further changes on store can be tracked and reflected to the returned value

Copy link

changeset-bot bot commented Sep 13, 2024

🦋 Changeset detected

Latest commit: f24ac1d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@urql/solid Patch

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

@JoviDeCroock JoviDeCroock merged commit 885a439 into urql-graphql:main Sep 14, 2024
7 checks passed
@github-actions github-actions bot mentioned this pull request Sep 14, 2024
@XiNiHa XiNiHa deleted the fix/solid-suspense-tracking branch September 14, 2024 06:40
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

Successfully merging this pull request may close these issues.

2 participants