1-virtual Dom
2-uni diraction
3-server side rendering
4-reuseable component
Component and
state or props dono hi component ke dura manage hota hai
props ko parent component manage karta hai
state ko component manage.
state main setState ke through or function main useState ke through state change karte hai.
React.PureComponent is exactly the same as React.Component except that it handles the shouldComponentUpdate() method for you.or React.Component main wo aapko khud likhni padhti hai.