Browse Source

Corrected typo/grammar issue (#2943)

main
Farjad Fazli 5 years ago
committed by GitHub
parent
commit
0075e554dd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/tutorial/tutorial.md

2
content/tutorial/tutorial.md

@ -1045,7 +1045,7 @@ Let's `map` over the `history` in the Game's `render` method:
**[View the full code at this point](https://codepen.io/gaearon/pen/EmmGEa?editors=0010)** **[View the full code at this point](https://codepen.io/gaearon/pen/EmmGEa?editors=0010)**
For each move in the tic-tac-toes's game's history, we create a list item `<li>` which contains a button `<button>`. The button has a `onClick` handler which calls a method called `this.jumpTo()`. We haven't implemented the `jumpTo()` method yet. For now, we should see a list of the moves that have occurred in the game and a warning in the developer tools console that says: For each move in the tic-tac-toe game's history, we create a list item `<li>` which contains a button `<button>`. The button has a `onClick` handler which calls a method called `this.jumpTo()`. We haven't implemented the `jumpTo()` method yet. For now, we should see a list of the moves that have occurred in the game and a warning in the developer tools console that says:
> Warning: > Warning:
> Each child in an array or iterator should have a unique "key" prop. Check the render method of "Game". > Each child in an array or iterator should have a unique "key" prop. Check the render method of "Game".

Loading…
Cancel
Save