Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
seedboot
on Jan 11, 2023
|
parent
|
context
|
favorite
| on:
Don't use Tailwind for a design system (2021)
Another (even smaller) alternative is `.join`
`const classes = [some, classNames, here, foo ? 'foo' : ''].join(' ');`
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
`const classes = [some, classNames, here, foo ? 'foo' : ''].join(' ');`