@samitouri / QOS-React-2 / commits / 4dbb8b307c

Enclose a value of variable in back quote

Kohei TAKATA committed Jul 8, 2015 at 08:24 UTC 4dbb8b307c57f6b82b42f47c6c79880b6f00bb2f
1 file changed +1 -1
docs/docs/08-working-with-the-browser.md
+1 -1
@@ -83,7 +83,7 @@ React provides lifecycle methods that you can specify to hook into this process.
83 ### Updating
84
85 * `componentWillReceiveProps(object nextProps)` is invoked when a mounted component receives new props. This method should be used to compare `this.props` and `nextProps` to perform state transitions using `this.setState()`.
86 -* `shouldComponentUpdate(object nextProps, object nextState): boolean` is invoked when a component decides whether any changes warrant an update to the DOM. Implement this as an optimization to compare `this.props` with `nextProps` and `this.state` with `nextState` and return false if React should skip updating.
86 +* `shouldComponentUpdate(object nextProps, object nextState): boolean` is invoked when a component decides whether any changes warrant an update to the DOM. Implement this as an optimization to compare `this.props` with `nextProps` and `this.state` with `nextState` and return `false` if React should skip updating.
87 * `componentWillUpdate(object nextProps, object nextState)` is invoked immediately before updating occurs. You cannot call `this.setState()` here.
88 * `componentDidUpdate(object prevProps, object prevState)` is invoked immediately after updating occurs.
89