ReactJS Tutorial – 26 – Pure Components
384.1K views on YouTube
📘 Courses – https://learn.codevolution.dev/
💖 Support UPI – https://support.codevolution.dev/
💖 Support PayPal – https://www.paypal.me/Codevolution
💾 Github – https://github.com/gopinav
📱 Follow Codevolution
+ Twitter – https://twitter.com/CodevolutionWeb
+ Facebook – https://www.facebook.com/codevolutionweb
📫 Business – codevolution.business@gmail.com
In React, we can create a component by extending the PureComponent class. A Pure Component implements the shouldComponentUpdate lifecycle method by performing a shallow comparison on the props and state
of the component. If there is no difference, the component is not re-rendered thereby providing a performance boost.