Grammar
I'm assuming this was meant to say that the JSX spread syntax saves typing, not copying attributes.
Matt Brookes committed
Oct 9, 2015 at 14:31 UTC
98aecac34c89822fa75236a4d8cc8f8eddc8b525
1 file changed
+1
-1
docs/docs/05-reusable-components.md
+1
-1
@@ -100,7 +100,7 @@ The result of `getDefaultProps()` will be cached and used to ensure that `this.p
100
101
## Transferring Props: A Shortcut
102
103
-A common type of React component is one that extends a basic HTML element in a simple way. Often you'll want to copy any HTML attributes passed to your component to the underlying HTML element to save typing. You can use the JSX _spread_ syntax to achieve this:
103
+A common type of React component is one that extends a basic HTML element in a simple way. Often you'll want to copy any HTML attributes passed to your component to the underlying HTML element. To save typing, you can use the JSX _spread_ syntax to achieve this:
104
105
```javascript
106
var CheckLink = React.createClass({