A Admin • 828.03K Points Coach Q. What is the difference between React.Component and React.PureComponent? (A) PureComponent implements shouldComponentUpdate with a shallow prop and state comparison (B) Component is only for functional components (C) PureComponent cannot have state (D) Component automatically memoizes Correct Answer - Option(A) Views: 13 Filed under category React JS Hashtags: Share Manage Tags
Discusssion
Login to discuss.