Closed
Description
Can we switch to styled-components?
Outdated comparison
It has many advantages against JSS
Here comparison table, and next version is even going to avoid SSR styles re-render!
Features | styled-components | react-jss |
---|---|---|
No build requirements | ✅ | ✅ |
Small and lightweight | ✅ | ✅ |
Supports global CSS | ✅ | ✅ |
Supports entirety of CSS | ✅ | ✅ |
Colocated | ✅ | ✅ |
Isolated | ✅ | ✅ |
Doesn’t break inline styles | ✅ | ✅ |
Easy to override | ✅ | ✅ |
Theming | ✅ | ✅ |
Server side rendering | ✅ | ✅ |
No wrapper components | ❌ | ✅ |
ReactNative support | ✅ | ❌ |
Legend: ✅ = Yes, ❌ = No, 😕 = Kinda, refer to notes or parentheses