1.

What is the difference between state and props?

Answer»
StatePROPS
States are mutualProps are immutable
The state is SET and UPDATED by the object.In props, you can pass properties from parent components.
The state can be modifiedProps can’t be modified.


Discussion

No Comment Found