In React Everything has a lifecycle that can be observed or controlled during three phases
Mounting
Updating
Unmounting
Mounting
constructor
getDerivedStateFromStaticProps
render
componentDidMount
Updating
shouldComponentUpdate
componentDidUpdate
getSnapShotBeforeUpdate
render
Unmount
componentWillUnmount
Apart from this, we have
componentDidCatch(To Catch Error)
Comments (1)
Add comment
Dec 17
i I have been identity theft by Audrey Turner Rison this is Tonya Voss
Add your comment