DEV Community

Discussion on: How to use componentWillUnmount with Functional Components in React

Collapse
 
omnislashbr profile image
Hector Bonilha

This is going to simulate componentDidUnmount, not componentWillUnmount

Collapse
 
nodejsdeveloperskh profile image
node.js.developers.kh

Hm, interesting. Can you explain it further in detail?