Skip to content

Fix paginated fragments spread on an @loading query - #1696

Merged
AlecAivazis merged 4 commits into
mainfrom
react-loading-hydration
Jun 22, 2026
Merged

AlecAivazis merged 4 commits into
mainfrom
react-loading-hydration

Conversation

@AlecAivazis

@AlecAivazis AlecAivazis commented Jun 22, 2026 •

Copy link
Copy Markdown
Collaborator

A @paginate fragment spread on an @loading query didn't work: it would try to paginate against a node(id: PendingValue) placeholder while the parent was still loading, so the list never rendered or paginated unless you wrapped the component in an if (!loading) guard. Fixing the reproduction surfaced a second, deeper bug in React: @loading pages weren't hydrating on the client at all, so they were never interactive.

closes #1408

@changeset-bot

changeset-bot Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3be6ba7

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

This PR includes changesets to release 4 packages
Name Type
houdini Patch
houdini-svelte Patch
houdini-react Patch
houdini-core 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

@AlecAivazis
AlecAivazis merged commit d3137c4 into main Jun 22, 2026
15 of 16 checks passed
@AlecAivazis
AlecAivazis deleted the react-loading-hydration branch June 22, 2026 08:11
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.

Paginated fragment doesn't work nicely with an @loading query

1 participant