You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For better performance with large forms & [Form Array’s](api/FormArray.md) it’s highly recommended to use the [Field](api/Field.md) component instead of `reactiveForm` method.
21
+
22
+
`Field` component subscribes a particular control & only update it when it’s or it’s parent’s state changes, which of course reduces the re-rendering and boost the performance significantly.
23
+
24
+
15
25
## Basic Usage Guide
16
26
### step 1: Create FormGroup or FormArray
17
27
A form group is a collection object of form controls & form array is the collection array of form controls.
@@ -48,24 +58,14 @@ const loginForm = new FormGroup({
48
58
```
49
59
50
60
### step2: Connect form with component
61
+
62
+
### With `reactiveForm`
63
+
51
64
Use the `reactiveForm` method to connect your form group or array to the Component in which you want to use input handlers.
52
65
Now you'll start receiving the [mapped control props](api/Props.md) with input handlers.
0 commit comments