Hacker News new | past | comments | ask | show | jobs | submit login

Actually, the docs says it's perfectly fine to use @apply for highly reusable components like buttons and form controls: https://tailwindcss.com/docs/reusing-styles#avoiding-prematu...



Did you continue reading?

> even then only if you’re not using a framework like React where a component would be a better choice.


Yes I did. You seem to assume everyone is using a "framework like React". I am not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: