Angular Reference
Reference pages for Angular — syntax, parameters, return values and runnable examples.
All Angular reference pages
computed()
The computed() function creates a read-only derived signal. It takes a computation function that reads other signals and returns a Signal whose value is lazily recomputed and memoized whenever a source signal changes.
signal()
The signal() function creates a writable reactive value. It takes an initialValue and returns a WritableSignal that you call to read, and mutate with .set() or .update() to write — notifying every dependent when the value changes.
This is the Angular reference on XCODX. Each page documents one feature completely — the exact syntax, its parameters and return value, the gotchas that trip people up, and runnable examples you can edit right on the page.
The pages below are grouped so related topics stay together. Pick one to dive in, or run anything you find in the Angular online compiler.