In React, every component has several methods that trigger at different points in a components “life”. These methods are called Lifecycle Methods. Below, I go into detail on when these events are triggered and what they are commonly used for. Refer to the diagram above for a visual aid in understanding what order these events are triggered.
constructor(props)