adspace
What are the lifecycle methods of reactjs components?
Answer Posted / Bishan Swaroop
The main lifecycle methods in React.js are: mounting (constructor, getDerivedStateFromProps, render, componentDidMount), updating (shouldComponentUpdate, getDerivedStateFromProps, render, componentDidUpdate), and unmounting (componentWillUnmount).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers