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
fix(svelte-query): state_unsafe_mutation error with useIs... (#9493)
* fix(svelte-query): don't wrap observers in derived to avoid state_unsafe_mutation
fixes useIsFetching and useIsMutating in svelte 5 adapter
* test(svelte-query): wrap (useIs...) tests in QueryClientProvider to test non colocated query
* fix(svelte-query): update observers when passed in query client changes
* fix(svelte-query): simplify creatMutation sub/unsub
* Refactor result handling in createMutation.svelte.ts
Replace derived state with direct state and add watchChanges for result updates.
---------
Co-authored-by: Lachlan Collins <[email protected]>
0 commit comments