πŸ“Š Angular
Q. What is the difference between Template-driven and Reactive forms in Angular?
  • (A) Template-driven uses ngModel; Reactive uses explicit FormControl and FormGroup
  • (B) Reactive forms are simpler
  • (C) Template-driven forms don't support validation
  • (D) Reactive forms cannot be tested
πŸ’¬ Discuss
βœ… Correct Answer: (A) Template-driven uses ngModel; Reactive uses explicit FormControl and FormGroup

Explanation: Reactive forms offer more control and are more testable compared to template-driven.

Explanation by: Mr. Dubey
Reactive forms offer more control and are more testable compared to template-driven.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
42
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate