Hacker News new | ask | show | jobs
by littlestymaar 619 days ago
> freedom from having to name things prematurely

> not having to jump back and forth between index.html and styles.css

Nobody prevents you to have your style directly in the HTML files (or in the JSX components, AKA CSS-in-js). Even though with split screen and keyboard shortcuts to switch I fail to see how this is an argument …

1 comments

> Nobody prevents you to have your style directly in the HTML files (or in the JSX components, AKA CSS-in-js).

Why not just use Tailwind in your JSX components?

> Why not just use Tailwind in your JSX components?

That just is out of place here: using tailwind means using inline style + having a CSS stylesheet (tailwind's stylesheet) at the same time. It's pure overhead.

I don't know, feels more natural to me. Tailwind was a godsend.