Angular
Search
K

Difference between Template-Driven and Reactive Forms

High-level Differences between Template-driven and Reactive Forms

Below are some of the high-level differences between the two types:
  1. 1.
    Template-driven forms make use of the "FormsModule", while reactive forms are based on "ReactiveFormsModule".
  2. 2.
    Template-driven forms are asynchronous in nature, whereas Reactive forms are mostly synchronous.
  3. 3.
    In a template-driven approach, most of the logic is driven from the template, whereas in a reactive-driven approach, the logic resides mainly in the component or typescript code.
To read more about differences click here