0
What difference using this in react
styles.module.css import styles from 'styles.module.css'; Or App.css Import './App.css' ;
1 Answer
+ 2
Module css ensure that the class name that used on the component is unique, so external same class name would not affect the styling of the component, and styles.module.css only can style its component only, not others.