You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/fragments.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ render() {
18
18
}
19
19
```
20
20
21
-
There is also a new [short syntax](#short-syntax) for declaring them, but it isn't supported by all popular tools yet.
21
+
There is also a new [short syntax](#short-syntax) for declaring them.
22
22
23
23
## Motivation {#motivation}
24
24
@@ -113,8 +113,6 @@ class Columns extends React.Component {
113
113
114
114
You can use `<></>` the same way you'd use any other element except that it doesn't support keys or attributes.
115
115
116
-
Note that **[many tools don't support it yet](/blog/2017/11/28/react-v16.2.0-fragment-support.html#support-for-fragment-syntax)** so you might want to explicitly write `<React.Fragment>` until the tooling catches up.
117
-
118
116
### Keyed Fragments {#keyed-fragments}
119
117
120
118
Fragments declared with the explicit `<React.Fragment>` syntax may have keys. A use case for this is mapping a collection to an array of fragments -- for example, to create a description list:
0 commit comments