more about me https://nathankrasney.com/
final source code https://github.com/NathanKr/react-css...
CSS has a global scope and this has advantages.
But what happens if you have a big React application and two CSS classes with the SAME name but different styling?
You have a problem !!! now go ahead and good luck finding this problem...
Using CSS file per component in React will NOT solve it so what can be done?
The answer is CSS modules
Check the problem here • CSS class problem in React