From 7ba5aba7a53afcd962d6a459afa0c0824374094c Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Thu, 5 Nov 2015 11:21:33 -0800 Subject: [PATCH] update wording around delegating --- tutorial.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tutorial.md b/tutorial.md index 25aaafea18..b108b86d5b 100644 --- a/tutorial.md +++ b/tutorial.md @@ -322,10 +322,11 @@ class _CounterState extends State { } ``` -Notice how Counter now delegates responsibility for incrementing and displaying -the counter value down to CounterIncrementor and CounterDisplay, respectively. -Although the net result is the same as the previous example, the delegation of -responsibility allows greater complexity to be encapsulated in the delegated +Notice how we created two new stateless components, cleaning separating +the concerns of _displaying_ the counter (CounterDisplay) and _changing_ +the counter (CounterIncrementor). +Although the net result is the same as the previous example, the separation of +responsibility allows greater complexity to be encapsulated in the individual components, while maintaining simplicity in the parent. Bringing it All Together