-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
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
jgoux, UchihaVeha, mxstbr, dmitry-r, techniq and 219 moreIzhaki, auvansangit, chengjia080787, jeremy-coleman, koistya and 57 moreDanilo-Araujo-Silva, samdenty, justinhp, iamthesiz, dmitmel and 35 moreskirunman, chengjia080787, koistya, powerfulj, ccpu and 15 moretelemakhos, dentemple, justinhp, Amurmurmur, sebas5384 and 46 moresnelsi, juniorUsca, darosadev, harrycollin, gathm5 and 7 more
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.