Add summary of static method approach to main README

Kevin C. Coram 2020-01-08 22:10:05 -05:00
parent babd4e8d92
commit e8034ac8be
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
1 changed files with 7 additions and 1 deletions

View File

@ -25,3 +25,9 @@ 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.
## 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.