Inputs use @Input() or input() signal inputs for parent-to-child data flow.
Important interview questions and answers
- Q: Why does this matter?
A: Inputs use @Input() or input() signal inputs for parent-to-child data flow.
Self-check
- Summarize Component inputs in one sentence.
- What would you try next in the playground?
Challenge
Component inputs hands-on
- Edit the default code.
- Click Run in browser.
- Confirm preview or terminal output.
Done when: preview or terminal matches the lesson goal.
Pitfall: Mutating an @Input() in the child breaks one-way flow—emit changes to the parent instead.