Lifecycle Methods
Lifecycle methods in React are special methods built into class components that allow you to run code at specific points in a component’s life. These methods are categorized into different phases of a component’s lifecycle. Mounting Phase Updating Phase Unmounting Phase 1. Mounting Mounting means putting elements into the DOM. React has four built-in methods … Read more