Exiting Child Components
While an exiting child component is rendered because it still exists in the React Virtual DOM, it is no longer available in the DOM.
To apply reactive updates to an exiting child element, pass a
childFactory function. The function controls the entering and exiting child components based on the provided props.