r/javascript • • Mar 14 '19

Why I Write CSS in JavaScript

https://mxstbr.com/thoughts/css-in-js/
0 Upvotes

9 comments sorted by

View all comments

3

u/asarew Mar 14 '19

terrible article...

Why I like CSS-in-JS: Primarily, CSS-in-JS boosts my confidence.

3

u/[deleted] Mar 14 '19

the whole point about fp/view=function(state) is that it's deterministic and that you can be confident about the result given the same state or input.