In react if a component is unmounted will that object ever again be reused?
Use case: let's say that component is sometime's shown from a higher level in an if statement.
If that component disappears a due to a state change then componentWillUnmount call will fire of course. When it later re-appears due to a state change, does react reuse this same component or does it create it from scratch? I would guess there is no guarantee of a new component, which is why both WillMount and WillUnmount exist.