r/reactjs • • Sep 05 '18

Tutorial Announcing styled-components v4: Better, Faster, Stronger

https://medium.com/styled-components/announcing-styled-components-v4-better-faster-stronger-3fe1aba1a112
203 Upvotes

80 comments sorted by

View all comments

Show parent comment

2

u/Dmitry_Olyenyov Sep 05 '18

For me the biggest downside of styled-components and css-in-js in general is an inherently dynamic nature of styles which leads to bugs like this https://github.com/styled-components/styled-components/issues/1593 when new classes are being inserted into head whenever some style is being applied first time. And also a lot of warnings from react about passing unknown props to html tags