1. What are React component lifecycle events? | ![]() |
2. What is the purpose of componentDidMount() lifecycle event? | ![]() |
3. How does the componentDidUpdate() lifecycle event work? | ![]() |
4. Can you explain the purpose of componentWillUnmount() lifecycle event? | ![]() |
5. How can I control whether a component should update or not using shouldComponentUpdate() lifecycle event? | ![]() |