Skip to content

Commit 515803f

Browse files
perf(vue-query): avoid unnecessary deep watch in suspense (#5919)
Co-authored-by: Damian Osipiuk <[email protected]>
1 parent 423bcf0 commit 515803f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-query/src/useBaseQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function useBaseQuery<
144144

145145
run()
146146

147-
stopWatch = watch(defaultedOptions, run, { deep: true })
147+
stopWatch = watch(defaultedOptions, run)
148148
},
149149
)
150150
}

0 commit comments

Comments
 (0)