re: 2 functions that made my components responsive VIEW POST

re: Hey! Great article. I noticed you used styled components here, which I've never used (I worry about vendor lock in too much). What has been your ex...

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 :)

code of conduct - report abuse