Skip to content

Commit 98604f1

Browse files
author
Vlad Balin
committed
minor change
1 parent e923cc8 commit 98604f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/flux-comparison/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ So, whenever anything will be changed inside of products or cart, our `state` wi
5959
and tell App component to update.
6060

6161
Because of that, and due to the fact that models and
62-
collections has they own behavior, it's safe and practical just to pass state elements down to the component tree as `props`. Therefore, `<Cart />` component will depend on just `Cart` collection, while `<Products />` component doesn't know anything about `<Cart />` and `Cart`. And that kind of isolation is exactly what we want, when our system is complex.
62+
collections has they own behavior, it's safe and practical just to pass state elements down to the component tree as `props`. Therefore, `<Cart />` component will depend on just `Cart` collection, while `<Products />` component doesn't know anything about `<Cart />` and `Cart`.
63+
64+
And that type of isolation is exactly what we want, when our system grow large. How do we deal with something big and messy? We split it to smaller isolated parts we can understand and change independently.
6365

6466
![](unidirectional-data-flow.jpg)
6567

0 commit comments

Comments
 (0)