3 ms·
If you use css-modules the styles will be isolated to your component unless you add :global() around them.
by TheCoelacanth 9y ago
If you use css-modules the styles will be isolated to your component unless you add :global() around them.
- bdcravens 9y agoI think css-modules requires a bit more wiring up (though CRA 2 will bake it in without ejecting, I believe). Of course, styled-components and css-modules have the same lead developer, but it appears that css-modules isn't getting as much love, as discussed: https://github.com/css-modules/css-modules/issues/187 https://github.com/css-modules/css-modules/issues/187