DEV Community

Discussion on: Making React components responsive with just 2 functions

Collapse
 
jepser profile image
Jepser Bernardino

Hi Brandon, thanks for reading.

Regarding your questions, my experience with css-in-js has been great, I found that by using styled components (either styled-components or emotionjs), the overhead of creating classes and tying states to them are reduced as I do when using classes based solution.

Apart from other types of jss (as object styling), you can describe how a styling property will affect the view and by using template literals to create the styles, designers that already have some knowledge of css feel familiar with the syntax.

Here is a good read about it :) medium.com/dailyjs/what-is-actuall...