Angular · Senior · Question 62 of 75
What are Signal Forms in recent Angular versions?
model = signal({ email: '', password: '' });
loginForm = form(this.model, (p) => {
required(p.email);
email(p.email);
});- ✓Correct answer: An experimental forms API where the form state is derived from a signal model with schema-based validation
- 2A replacement for
HttpClient - 3A stable alias for reactive forms
Explanation
Field state (value, valid, touched, errors) is exposed as signals. As an experimental API it may change, so weigh that before adopting it widely.