spec
spec copied to clipboard
Lightweightness vs Setup Complexity
Based on a discussion in https://github.com/styled-components/comparison/pull/31#issuecomment-249354822, I think we might need to rename the lightweightness category. In the comparison
repo I changed the Checklist for the different methods to be this:
- β
No build requirements
- π Small and lightweight
- β
Supports global CSS
- β
Supports entirety of CSS
- β
Colocated
- β
Isolated
- β
Doesnβt break inline styles
- π Easy to override
- β Theming
- β Pre-build
- β
Server side rendering
- β No wrapper components
Legend: β = Yes, β = No, π = Kinda, refer to notes or parentheses
But I think what we really want to say with lightweightness is setup complexity. None of the current methods is anywhere near "too big" imo.
/cc @kof
I would consider size in kb only if there are big differences between the libs, otherwise category would be "Setup complexity".
Also I am not sure if setup complexity varies that much or matter that much, because it is done just once.
Another point could be "Usage simplicity."