render happens before as it is apart of the render phase and then moves to the pre -commit phase, lastly ut moves to the commit phase where it runs componentDidMount.
calling of the constructor.
Constructor, render, React Updates, componentDidMount, componentWillUnMount
It loads requests and intitializes the DOM
When you are passing things from a parent to a child component.
When you are handling info inside the component only you use state. When you are andling info outside the component like a partent component then you use props.
When we are using state
Things like counters where its going to be continue to be updating it based off the user has done.