Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Because lang-switcher__item is not a separate component that can be taken out of lang-switcher, it depends on it. And the lang-switcher__link style depends on the root component, not on the "wrapper" lang-switcher__item . And the tree simply shows the nesting of DOM elements.
Because it refers to lang-switcher, not lang-switcher__item. Otherwise it would be item__link.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question