Y
Hacker News
new
|
ask
|
show
|
jobs
by
tipiirai
865 days ago
You sure can, but it then comes to the separation of concerns. CSS-in-JS (coupling of concerns) is the preferred option.
1 comments
teaearlgraycold
865 days ago
Having CSS in a separate file feels like defining the predicates for your if statements in a separate file. With tailwind we're getting pretty close to a great solution here.
link