DEV Community

Vishnu Priya S
Vishnu Priya S

Posted on

Component Lifecycle

Mounting: Here the component is created and inserted into the page for the first time

Update: The state or props may change so the component gets re-renders

Unmounting: The component is removed from the page even they call it has cleanup.

Top comments (0)