Signals are reactive primitives: signal(), read with (), update with set or update.
Important interview questions and answers
- Q: Why does this matter?
A: Signals are reactive primitives: signal(), read with (), update with set or update.
Self-check
- Summarize Signals basics in one sentence.
- What would you try next in the playground?
Challenge
Signals basics hands-on
- Edit the default code.
- Click Run in browser.
- Confirm preview or terminal output.
Done when: preview or terminal matches the lesson goal.
Tip: Call signals as functions in templates: {{ count() }}—forgetting parentheses is a common typo.
Interview prep
- How do you read a signal in a template?
Call it like a function:
{{ count() }}—Angular tracks the dependency for updates.