Browse Source

Grammar typo

main
Andrew Clark 7 years ago
committed by GitHub
parent
commit
3a66f62cd8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/blog/2017-11-28-react-v16.2.0-fragment-support.md

2
content/blog/2017-11-28-react-v16.2.0-fragment-support.md

@ -133,7 +133,7 @@ Fragment syntax in JSX was inspired by prior art such as the `XMLList() <></>` c
Note that the `<></>` syntax does not accept attributes, including keys.
If you need a keyed fragment, you can use `<Fragment />` directly. An use case for this is mapping a collection to an array of fragments -- for example, to create a description list:
If you need a keyed fragment, you can use `<Fragment />` directly. A use case for this is mapping a collection to an array of fragments -- for example, to create a description list:
```jsx
function Glossary(props) {

Loading…
Cancel
Save