- Is render() a lifecycle method?
- Yes, render() is no different from any other lifecycle method.
- Which of the following is a valid use of the componentWillUnmount() method?
- To cancel an asynchronous action that will fail if the component us unmounted.
- Which lifecycle method is used by an error boundary component?
- componentDidCatch()