Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
franleplant committed Oct 10, 2016
1 parent 223d1b4 commit 8fc0fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ I believe that the main reason not to call this pattern 2WDB is because it's muc
you always clearly know what are the ways the data flow from the **View** to the **Model** and viceversa.
DIAGRAM 1 HERE
![Diagram 1](docs/diagram1.jpg)
Reference:
Expand Down Expand Up @@ -873,7 +873,7 @@ This is all fine and both React and Reform work well with this.
We've basically explained everything that Reforms does, the only detail is that `Reform` highjacks the **View -> Model** flow
and adds **validation** data to the newValue or `event` that the **View** emits in the form of the `control` object.
DIAGRAM 2 here
![Diagram 2](docs/diagram2.jpg)
So we see that `Reform` takes the `event` emitted by the **View** that contains the newValue of that particular Form Control
and also emits a `control` data structure that contains validation information of that newValue.
Expand Down

0 comments on commit 8fc0fd1

Please sign in to comment.