Open In App

Web technologies Questions | React.js Quiz | Set-2 | Question 2

Which of the following is the class-based component in React.js ?
(A) class
(B) factory
(C) render
(D) props

Answer: (D)
Explanation: Props is the class-based component in React.js. It is used to transfer the data from the parent to the child component.
Quiz of this Question

Article Tags :