|
|
|
|
|
by TimTheTinker
1748 days ago
|
|
For me, forgetting the cascade has nothing to do with it; in my use cases, styled-components is all about: - eliminating the chance of colliding CSS class names when composing multiple micro-clients together - simplifying builds, especially cascading builds (library + client). It's nice when styles are covered entirely by the JS build (no separate CSS/SCSS input or output files or separate build pipelines). Yes, there are other complexities/problems that styled-components adds (including the likelihood that devs will forget about the cascade)... so I wouldn't recommend it for every case. But it does have its place. |
|