adspace
Answer Posted / Sanchit Srivastava
The high-level component lifecycle in ReactJS refers to the stages that a component goes through from being created to being unmounted. The main stages are: Mounting (constructor, getDerivedStateFromProps, render), Updating (getDerivedStateFromProps, shouldComponentUpdate, render) and Unmounting (componentWillUnmount). These stages are managed using various lifecycle methods provided by React.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers