Q. What is the use of Fragment in React?
β
Correct Answer: (C)
To wrap multiple elements without adding extra nodes to the DOM
Explanation: Fragments let you group multiple elements without creating extra DOM nodes.