ShafayatReact Component lifecycleAns- Each component in React has a lifecycle which it can monitor and manipulate during its three main phases. The three phases are…Dec 21, 2021Dec 21, 2021