Google News
logo
ReactJS - Quiz(MCQ)
When might you use React.PureComponent?
A)
when you do not want your component to have state
B)
when you have sibling components that need to be compared
C)
when you want a default implementation of shouldComponentUpdate()
D)
when you do not want your component to have props

Correct Answer :   when you want a default implementation of shouldComponentUpdate()