Comment Comment by mxstbr That's exactly why we made styled-components![0]I really dislike writing styles as JavaScript objects, so styled-components let's you write actual CSS in JavaScript. We have also added support for a bunch of editors, so you don't miss out on syntax highlighting just because of that.I'd encourage you to check it out![0]: https://www.styled-components.com parent mxstbr 9 years ago
I really dislike writing styles as JavaScript objects, so styled-components let's you write actual CSS in JavaScript. We have also added support for a bunch of editors, so you don't miss out on syntax highlighting just because of that.
I'd encourage you to check it out!
[0]: https://www.styled-components.com