Skip to content

Svelte 5: suddendly from v121 I cannot use tanstack/query anymore #11429

@frederikhors

Description

@frederikhors

Describe the bug

Suddendly from v121 I cannot use tanstack/query anymore

Uncaught (in promise) Error: No QueryClient was found in Svelte context. Did you forget to wrap your component with QueryClientProvider?
    at getQueryClientContext (chunk-IPFQYTE6.js?v=d25fe8b0:44:11)
    at useQueryClient (chunk-IPFQYTE6.js?v=d25fe8b0:73:10)
    at useIsFetching (chunk-IPFQYTE6.js?v=d25fe8b0:186:18)
    at Navbar.svelte:13:18
    at untrack (chunk-LAN3S4TN.js?v=d25fe8b0:1467:12)
    at Object.fn (chunk-LAN3S4TN.js?v=d25fe8b0:421:5)
    at execute_reaction_fn (chunk-LAN3S4TN.js?v=d25fe8b0:1054:22)
    at execute_effect (chunk-LAN3S4TN.js?v=d25fe8b0:1171:20)
    at create_effect (chunk-LAN3S4TN.js?v=d25fe8b0:368:7)
    at render_effect (chunk-LAN3S4TN.js?v=d25fe8b0:443:10)

Obviously nothing changed in my code from 120 to 121.

Severity

blocking all usage of svelte

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions