Q. What is the return type of a functional component?

  • (A) String
  • (B) HTML
  • (C) JSX
  • (D) Object
πŸ’¬ Discuss
βœ… Correct Answer: (C) JSX
Explanation: Functional components return JSX, which React converts to real DOM elements.
Explanation by: Mr. Dubey
Functional components return JSX, which React converts to real DOM elements.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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