реагировать состояние компонента вызова
If two components need access to the same state
they should have a common ancestor where the state is kept.
Av3
If two components need access to the same state
they should have a common ancestor where the state is kept.