* When element is unmounted, that element performs an event and then disappears. * There are 3 conditions for an element to disappear. * js setTimeout : Set duration millisecond for fade out. * css animation : Set ref on fade-out animation elem