From cd2aa1400d380d91a0d25e599d0e41f947b0ae4b Mon Sep 17 00:00:00 2001 From: Eduard Date: Thu, 2 Feb 2017 02:12:00 +0000 Subject: [PATCH] Update tutorial.md (#8896) * Update tutorial.md The status
used in Board can be deleted as well from render. * Little tweaks --- tutorial/tutorial.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorial/tutorial.md b/tutorial/tutorial.md index 4ad5dc79..9994cf07 100644 --- a/tutorial/tutorial.md +++ b/tutorial/tutorial.md @@ -399,7 +399,9 @@ if (winner) {
``` -Its `handleClick` can push a new entry onto the stack by concatenating the new history entry to make a new history array: +Since Game is now rendering the status, we can delete `
{status}
` from the Board's `render` function. + +Game's `handleClick` can push a new entry onto the stack by concatenating the new history entry to make a new history array: ```javascript handleClick(i) {