Kizspy | Question: 29
(Choose 1 answer)
Beaver Feave.com
How can you use a fragment in JSX?
A. By wrapping the JSX elements with <div> tags
B. By using the shorthand syntax <>...</> or <React.Fragment>...</React.Fragment>
C. By creating a separate component for each element
D. By using the fragment() function