Skip to main content

Signals, change detection, interceptors and errors

Learn Signals, change detection, interceptors and errors (Module 28 · Angular Interview Preparation, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Signals vs RxJS Q: What is the difference between signals and RxJS? A: Signals hold a current synchronous value with automatic dependency tracking; RxJS models asynchronous streams of events over time with operators. Use signals for state, RxJS for events and HTTP flows. Signals vs traditional component state Q: Why use signals instead of plain fields? A: Angular knows exactly which template reads which signal, so only those views update, enabling OnPush-like performance and zoneless apps without manual markForCheck. Change detection Q: What is change detection? A: The mechanism that checks...

More lessons in Module 28 · Angular Interview Preparation