How does unmounting a component affect Context providers and consumers?
When a Context provider component unmounts, all its consumers lose access to the provided context values. If there are no ancestor providers of the same Context type available, consumers will fall back to the default value specified when creating the Context. This is why it's important to consider the lifecycle of providers when designing component hierarchies.