React feature

1-virtual Dom
2-uni diraction
3-server side rendering
4-reuseable component

Component and

state:component ek object jo change kar sakte hai.

props:property ko pass ya define.

props and state difference?

state or pros ko kyon manage karta hai?

state or props dono hi component ke dura manage hota hai

props ko parent component manage karta hai
state ko component manage.

component main state or function main state kaise update hoti hai?

state main setState ke through or function main useState ke through state change karte hai.

What are Pure Components?

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.

higher order component?

What is the difference between Element and Component??