Components Life Cycle are divided in 3 parts: Mount, Update & Unmount.
// Executed during Component initialization, which is done even before mounting proccessReference: https://projects.wojtekmaj.pl/react-lifecycle-methods-diagram/
Using setState inside the render( ) method can be confusing for React because it is executed every time the state is updated, creating an infinite loop.
These functions are a neat form to prevent that.
npm install react-router-dom
props.children