Today, we will discuss state and props in react. In my previous posts, I already shared installation process of react and the introduction to a component in react.
I hope these posts will help you to do a quick start with react. So now I am going to give an introduction about state and props in react.
What is the state?
A state is variable that serve the value of overall render function of the component. You can also use this outside of the render function and it provides the bindings between UI and logic functions.