Know what is the lifecycle and its methods in React — Simply and directly, lifecycle refers to the 3 stages that a React component goes through during its existence. Every component in React goes through three stages which are: Mounting Update Unmounting It is important that you, as a React developer, know these 3 phases and what methods are associated with…