If two components need access to the same state they should have a common ancestor where the state is kept.