Fragments in React
A fragment groups children without adding a DOM node. <> <h1/> <p/> </> is the short form. When you map and need a key, use <Fragment key={id}> — the short <> cannot take attributes.
Why bother: wrapping table cells in a div is invalid HTML. Fragment keeps <td> siblings legal. Don’t Fragment everything ‘for purity’ — a div is fine when you actually need a layout box.
Fragments in React — two cells, no extra wrapper in the DOM. Short <> cannot take a key — use Fragment.
<> vs Fragment+key.