Q. What is a React fragment?

  • (A) A single root element
  • (B) A placeholder for props
  • (C) A tool for debugging
  • (D) A way to group elements without extra nodes
πŸ’¬ Discuss
βœ… Correct Answer: (D) A way to group elements without extra nodes
Explanation: React fragments let you group multiple elements without adding extra nodes to the DOM.
Explanation by: Mr. Dubey
React fragments let you group multiple elements without adding extra nodes to the DOM.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
78
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate