Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pie_flavor
3 months ago
|
parent
|
context
|
favorite
| on:
CSS now has an if() conditional function
You're pulling the old man card on CSS-in-JS? Putting your style logic in CSS is what CSS is
for
, CSS-in-JS is an annoying hack to make React work. What this is replacing is SCSS.
masswerk
3 months ago
[–]
Well, historically, styles were first in JS (JS StyleSheets in Netscape 4.0) and were pulled out into CSS. – This is an old man card! ;-)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: