diff --git a/packages/angular-query-experimental/src/create-base-query.ts b/packages/angular-query-experimental/src/create-base-query.ts index ad927a28d7..396236c901 100644 --- a/packages/angular-query-experimental/src/create-base-query.ts +++ b/packages/angular-query-experimental/src/create-base-query.ts @@ -92,10 +92,12 @@ export function createBaseQuery< }) }) onCleanup(() => { - resultFromSubscriberSignal.set(null) + ngZone.run(() => resultFromSubscriberSignal.set(null)) }) }, { + // Set allowSignalWrites to support Angular < v19 + allowSignalWrites: true, injector, }, )