Google News
logo
ReactJS - Quiz(MCQ)
In React what is used to pass data to a component from outside?
A)
setState
B)
props
C)
PropTypes
D)
render with arguments

Correct Answer : Option (B) :   props


Explanation : Props are used to pass data to a component from outside