What is a state in React and how is it used?

Answer

States are the heart of React components.
States are the source of data and must be kept as simple as possible.
Basically, states are the objects which determine components rendering and behavior.
They are mutable unlike the props and create dynamic and interactive components.
They are accessed via this.state().

All react js Questions

Ask your interview questions on react-js

Write Your comment or Questions if you want the answers on react-js from react-js Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---