deleting some unecessary newline
iamchenxin committed
Dec 24, 2015 at 14:57 UTC
6e0a02357283229d348095e37934e0eb6adf6ec0
3 files changed
+3
-7
docs/docs/ref-01-top-level-api.md
+1
-3
@@ -66,9 +66,7 @@ factoryFunction createFactory(
66
)
67
```
68
69
-Return a function that produces ReactElements of a given type. Like `React.createElement`,
70
-the type argument can be either an html tag name string (eg. 'div', 'span', etc), or a
71
-`ReactClass`.
69
+Return a function that produces ReactElements of a given type. Like `React.createElement`, the type argument can be either an html tag name string (eg. 'div', 'span', etc), or a `ReactClass`.
70
71
72
### React.isValidElement
docs/docs/ref-03-component-specs.md
+1
-2
@@ -161,8 +161,7 @@ boolean shouldComponentUpdate(
161
162
Invoked before rendering when new props or state are being received. This method is not called for the initial render or when `forceUpdate` is used.
163
164
-Use this as an opportunity to `return false` when you're certain that the
165
-transition to the new props and state will not require a component update.
164
+Use this as an opportunity to `return false` when you're certain that the transition to the new props and state will not require a component update.
165
166
```javascript
167
shouldComponentUpdate: function(nextProps, nextState) {
docs/docs/ref-05-events.md
+1
-2
@@ -61,8 +61,7 @@ function onClick(event) {
61
62
## Supported Events
63
64
-React normalizes events so that they have consistent properties across
65
-different browsers.
64
+React normalizes events so that they have consistent properties across different browsers.
65
66
The event handlers below are triggered by an event in the bubbling phase. To register an event handler for the capture phase, append `Capture` to the event name; for example, instead of using `onClick`, you would use `onClickCapture` to handle the click event in the capture phase.
67