mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-25 23:05:23 +00:00
Grammar typo
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user