You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and when using BEM naming convention with modifiers like menu__subitem--visible there seems to be a problem in generated css style.
Works fine if I rename it to menu__subitem__visible, so I guess it doesn't really like double dashes...
Any help?
The text was updated successfully, but these errors were encountered:
dashes work fine in either your own classes or localIdentName, only thing I can think of that will break is JS with styles.className notation (which will be syntax error).
The CSS you get should have transformed class name
@psimyn Wait I'm confused. I normally either have the option of using styleName, or using styles.className notation. I don't have the option of using styleName when it comes to using something like ReactCSSTransition, so I'm using styles.className notation, unless there's some other option.
I think my issue is that if the camelCase option is ticked off, then it should remove multiple hyphens as well... there's zero use case where someone would turn camelCase on, then not want the double hyphen case translated to camel.
I am loading css like this
and when using BEM naming convention with modifiers like menu__subitem--visible there seems to be a problem in generated css style.
Works fine if I rename it to menu__subitem__visible, so I guess it doesn't really like double dashes...
Any help?
The text was updated successfully, but these errors were encountered: