Hacker News new | ask | show | jobs
by joseferben 616 days ago
you've gained:

- fine-grained design tokens (p-63 doesn't exist)

- freedom from having to name things prematurely

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

1 comments

> 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 …

> 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.