paint-brush
The Component Life Cycles of ReactJSby@sona
483 reads
483 reads

The Component Life Cycles of ReactJS

by sona3mNovember 4th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The Component Life Cycles of ReactJS are a cycle of birth, growth, and death. Mounting is the phase of the component lifecycle when the React component mounts on the DOM (i.e., is created and inserted into the DOM) and rendered for the first time on the webpage. Updating is where the states and props of a component are updated followed by some user events such as clicking, pressing a key on a keyboard etc. This is where a component’s state changes and hence, re-rendering takes place. Unmounting is when the component is finally unmounted and destroyed from the DOM.
featured image - The Component Life Cycles of ReactJS
sona HackerNoon profile picture
sona

sona

@sona

FrontEnd Developer

About @sona
LEARN MORE ABOUT @SONA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

sona HackerNoon profile picture
sona@sona
FrontEnd Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite