adspace


What is the difference between state and props?

Answer Posted / Kishor Kumarmishra

State represents the data that a component manages internally, which may change over time. Props are data passed from parent components to child components as attributes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you create higher order components (hocs) in react.js?

448


How to use events in reactjs? Give an example of using events?

565