You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a paginated fragment is spread on a query annotated with @loading, the paginated query will get a node id of PendingValue, and cannot be fetched. This results in the paginated fragment not showing up on the page.
In order to make it work as expected, a workaround is to wrap the component with an if-check to only render it when @loading is finished.
I wonder if we can fix this so that the if check is not necessary.
Describe the bug
When a paginated fragment is spread on a query annotated with
@loading
, the paginated query will get a node id ofPendingValue
, and cannot be fetched. This results in the paginated fragment not showing up on the page.In order to make it work as expected, a workaround is to wrap the component with an if-check to only render it when
@loading
is finished.I wonder if we can fix this so that the if check is not necessary.
Demo of the bug:
https://youtu.be/Wilvm7t_5Ss
Reproduction
https://github.com/SeppahBaws/houdini/tree/repro/paginated-fragment-at-loading/e2e/kit/src/routes/bug/paginated-fragment-at-loading
The text was updated successfully, but these errors were encountered: