NG0600 Angular Origin: On your device Angular 16+ Last updated 15 Oct 2026

Angular: NG0600: Writing to signals is not allowed in a computed or an effect by default

A computed() (or, by default, an effect()) tried to call .set() or .update() on a signal — that creates hidden update loops.

Exact message you may see NG0600: Writing to signals is not allowedWriting to signals is not allowed in a `computed`Writing to signals is not allowed in a `computed` or an `effect` by default
Seen on: Angular TypeScript

Meaning

computed must be a pure derivation. Effects used to forbid signal writes unless allowSignalWrites: true (since Angular 19 writes in effects are allowed). Move the write to an event handler, derive the value with computed instead, or use linkedSignal / toObservable where appropriate.

Common causes

  • Calling .set() / .update() inside computed(() => ...)
  • Writing to a signal inside an effect() without allowSignalWrites (Angular 16–18)
  • Template function that writes to a signal during render
  • Using effects to sync two signals that should be derived

⚡ Quick fix

  1. Make the value a computed instead of writing to a signal
  2. Do writes in event handlers or untracked(() => ...)
  3. Use linkedSignal for state derived from another signal that can also be set

Detailed fix by platform

Angular

  1. total = computed(() => this.price() * this.qty()); instead of an effect that sets total
  2. If unavoidable (Angular 16–18): effect(() => {...}, { allowSignalWrites: true })

Code examples

Derive, do not write

typescript
price = signal(10);
qty = signal(2);
total = computed(() => this.price() * this.qty());     // pure

// not allowed:
// total = computed(() => { this.log.set('x'); return 1; });   // NG0600

How to diagnose

  1. Context — computed, effect or template?
  2. Purpose — Can it be derived instead?
  3. Version — Angular version (effect rules changed in 19)?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

Cannot find control with name — Angular: Error: Cannot find control with name: 'email' (reactive forms) (Angular)Cannot find control w…Could not find the builder's node package — Angular CLI: Could not find the '@angular-devkit/build-angular:browser' builder's node package / Cannot find module '@angular-devkit/build-angular/package.json' (Angular)Could not find the bu…exceeded maximum budget — Angular build: Error: bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 120.00 kB with a total of 1.12 MB (Angular)exceeded maximum budg…NG0100 — Angular: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked (Angular)NG0100NG0203 — Angular: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer or a function used with runInInjectionContext (Angular)NG0203NG0950 — Angular: NG0950: Input is required but no value is available yet (input.required / viewChild.required) (Angular)NG0950Schema validation failed with the following errors — Angular CLI: Schema validation failed with the following errors: Data path "" must NOT have additional properties(xyz) (Angular)Schema validation fai…NG0600

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.