Browse Source

Updated sentence grammar. (#2459)

main
Christopher Wray 5 years ago
committed by GitHub
parent
commit
6603bdea3d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/tutorial/tutorial.md

2
content/tutorial/tutorial.md

@ -290,7 +290,7 @@ class Square extends React.Component {
>Note >Note
> >
>In [JavaScript classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), you need to always call `super` when defining the constructor of a subclass. All React component classes that have a `constructor` should start it with a `super(props)` call. >In [JavaScript classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), you need to always call `super` when defining the constructor of a subclass. All React component classes that have a `constructor` should start with a `super(props)` call.
Now we'll change the Square's `render` method to display the current state's value when clicked: Now we'll change the Square's `render` method to display the current state's value when clicked:

Loading…
Cancel
Save