user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

30. Explain Pure Components in React?

user image

Abhishek Mishra

2 years ago

A React component is considered pure if it renders the same output for the same state and props. For this type of class component, React provides the PureComponent base class. Class components that extend the React. PureComponent class are treated as pure components

Recent Doubts

Close [x]