Open In App

Web technologies Questions | React.js Quiz | Set-1 | Question 8

In React.js, how we can pass the data from one component to another in React.js ?
(A) SetState
(B) Render with arguments
(C) Props
(D) PropTypes

Answer: (C)
Explanation: Props can help to pass the data from one component from another in react.js. Props are un-mutable so that they cant be changed.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :