From e8034ac8be7fca788a9191340619d8f9bbf5712f Mon Sep 17 00:00:00 2001 From: "Kevin C. Coram" Date: Wed, 8 Jan 2020 22:10:05 -0500 Subject: [PATCH] Add summary of static method approach to main README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c939da5..611eb58 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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. \ No newline at end of file