state

  • state in react

    State is an object in JavaScript that holds dynamic component data. And enables tracking between renderings. Because it is dynamic, it only makes interaction possible. For this reason, it is not used in static projects. Components are classes that have…