Add summary of static method approach to main README

master part_2
Kevin C. Coram 2020-01-08 22:10:05 -05:00
parent 5d0c467849
commit ff1268e129
Firmato da: kevin
ID Chiave GPG: 0342351B3D61AD35
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni

Vedi File

@ -24,4 +24,10 @@ The [Parent Form](apps/parent-form) application explores this approach.
Another approach is to allow the outermost, or parent, component create the full Reactive Form. Each child component is given the `FormGroup` containing the portion of the form that it is responsible for rendering.
The [Global Form](apps/global-form) application explores this approach.
The [Global Form](apps/global-form) application explores this approach.
## Parent Component Creates Form; Child Components Define Structure
Another approach is to allow the parent component to maintain control of creating the full Reactive Form, while allowing each child component to define the shape of the form data by means of static factory methods defined within the child component code.
The [Static Method](apps/static-factory-methods/README.md) application explores this approach.