adspace
Answer Posted / Neelendra Kumar Verma
The main React lifecycle methods are:n* componentDidMount - called after a component is mountedn* componentWillMount - called before a component is mountedn* shouldComponentUpdate - called before rendering when props or state changen* componentDidUpdate - called after a successful updaten* componentWillReceiveProps - called before the next prop value is passed to the componentn* componentWillUnmount - called before a component is unmounted
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers