-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
discussiontype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Milestone
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
discussiontype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.