From 3f7a2136947d2f525704d66c4b4cf14fd37ffac7 Mon Sep 17 00:00:00 2001 From: John Longanecker Date: Wed, 1 Feb 2017 20:31:01 -0500 Subject: [PATCH] Lifting State Up more legible (#8691) --- tutorial/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tutorial/tutorial.md b/tutorial/tutorial.md index c451c2fe..f5b97694 100644 --- a/tutorial/tutorial.md +++ b/tutorial/tutorial.md @@ -187,6 +187,8 @@ Now we're passing down two props from Board to Square: `value` and `onClick`. Th ```javascript ``` This means that when the square is clicked, it calls the onClick function that was passed by the parent. The `onClick` doesn't have any special meaning here, but it's popular to name handler props starting with `on` and their implementations with `handle`. Try clicking a square – you should get an error because we haven't defined `handleClick` yet. Add it to the Board class: