-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Description
Describe the bug
Something about the way Tanstack Query makes its promises causes the data to never be fetched (and consequently the promise never resolves) in nested queries when there isn't a boundary with a pending snippet created at the same time
This is probably partly a bug in Tanstack Query, but the fact that it requires a boundary with a pending snippet created in the same render makes me think it could also be a bug in Svellte
Reproduction
If you move the boundary outside the if block, remove it, or remove the pending snippet, the query from the PostContent file is never fetched and the promise is never resolved
repl
Logs
System Info
running Svelte compiler version 5.41.0
Severity
blocking an upgrade
Metadata
Metadata
Assignees
Labels
No labels