Angular Hard technical 1 views 1 min read

What are Angular signals and how do they change reactivity?

Peer-reviewed by HireXTech Technical Panel • Updated for 2025/2026 hiring • Editorial standards
Practise this track
Interviewer Expectations for this Question
01
Core Competency

Assesses fundamental understanding of Angular conventions, runtime behavior, and memory/performance considerations.

02
Evaluation Criteria

Hiring managers look for precision, avoidance of ambiguous jargon, and ability to explain trade-offs under real production conditions.

Comprehensive Model Answer Verified Solution

Signals are Angular's fine-grained reactive primitive. A signal(0) holds a value; reading it with count() registers the consumer as a dependency, and writing with count.set(1) or count.update(v => v + 1) marks dependents dirty. computed() derives a memoised value that recomputes lazily, and effect() runs a side effect whenever its tracked signals change.

const price = signal(10);
const qty = signal(2);
const total = computed(() => price() * qty());
effect(() => console.log(total()));

Unlike zone-based change detection, signals let Angular know exactly which views depend on which state and update only those, enabling zoneless applications. Signal inputs (input()), queries (viewChild()) and model() integrate them with components. untracked() reads without registering a dependency, and linkedSignal or resource handle derived and async cases.

Avoid writing signals inside computed, since computeds must be pure, and use effect sparingly to synchronise with non-reactive APIs. Signals are the direction Angular is moving toward.

Candidate Response Strategy & Interview Tips

  1. Start with a concise one-sentence summary: Deliver a direct, confident answer first before expanding into nuances.
  2. Demonstrate real-world trade-offs: Discuss where this approach excels and when you would avoid it in production systems.
  3. Discuss complexity & edge cases: Proactively explain time/space complexity or boundary conditions (null values, scale limits).
  4. Prepare for interviewer follow-ups: Technical hiring panels frequently probe deeper into concurrency, backward compatibility, or alternative libraries.
Related Topics & Skills
Spotted an error or have an alternative solution?