Browse Source

Update tutorial.md, Taking Turns (#8058)

main
Andrew Poliakov 8 years ago
committed by Dan Abramov
parent
commit
b2f368c6f4
  1. 2
      tutorial/tutorial.md

2
tutorial/tutorial.md

@ -254,7 +254,7 @@ You'll need to change `this.props` to `props` both times it appears. Many compon
An obvious defect in our game is that only X can play. Let's fix that.
Let's default the first move to be by 'X'. Modify our starting state in our `Game` constructor.
Let's default the first move to be by 'X'. Modify our starting state in our `Board` constructor.
```javascript
class Board extends React.Component {

Loading…
Cancel
Save