Step 1: creating a component with the select state
Step 2: Creating a menu component for different pages
Step 3: Menu components are used on different pages
Step 4: Changing the state
Step 5: Changing the name
Step 6: After changing the name in the instance, the text does not change
Подробнее в примере