Skip to content

Commit

Permalink
Merge pull request reactjs#364 from jdreesen/patch-1
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
alexkrolick authored Nov 28, 2017
2 parents 3a66f62 + d014fcf commit 1620544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/blog/2017-11-28-react-v16.2.0-fragment-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ More text.
Even more text.
```

Prior to version 16, the only way to acheive this in React was by wrapping the children in an extra element, usually a `div` or `span`:
Prior to version 16, the only way to achieve this in React was by wrapping the children in an extra element, usually a `div` or `span`:

```js
render() {
Expand Down Expand Up @@ -142,8 +142,8 @@ function Glossary(props) {
{props.items.map(item => (
// Without the `key`, React will fire a key warning
<Fragment key={item.id}>
<dt>{item.term}</li>
<dd>{item.description}</li>
<dt>{item.term}</dt>
<dd>{item.description}</dd>
</Fragment>
)}
</dl>
Expand Down

0 comments on commit 1620544

Please sign in to comment.