Q. Which lifecycle method is called before unmounting?

A
componentWillUnmount
B
componentDidUnmount
C
componentWillMount
D
componentDidUpdate
Solution:

componentWillUnmount is called before a component is removed.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!