From 952b7dec911ce8ab99a6ff65f0d49ca8a0a2c502 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) (cherry picked from commit b8f0522cc6cb77d192f9adc42438886b6ebc5e7b) --- docs/tutorial/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tutorial/tutorial.md b/docs/tutorial/tutorial.md index c451c2fea5..f5b97694dd 100644 --- a/docs/tutorial/tutorial.md +++ b/docs/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: