Say you write a component somewhere that uses the className 'container'. Then you can't use it in any other component style sheet without getting a conflict.
With CSS modules that is not a problem. The selling point against CSS modules is that you get more power. It lets you conditionally apply styles and build styles based on props.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For regular CSS: You get rid of global styles.
Say you write a component somewhere that uses the className 'container'. Then you can't use it in any other component style sheet without getting a conflict.
With CSS modules that is not a problem. The selling point against CSS modules is that you get more power. It lets you conditionally apply styles and build styles based on props.