Hacker News new | ask | show | jobs
by michaelcampbell 903 days ago
Isn't stylex with Typescript type-safe, also? (Which makes various typos and mistakes at least visible in tooling.) Does Tailwind have an equivalent?
2 comments

Yes, type safety is a major selling point of StyleX (according to the devs behind it) and

No, Tailwind has no equivalent that I'm aware of (someone correct me if I'm wrong)

I use autocomplete and headwind which is more or less just a VSCode plugin to sort the classes. Been very happy with that setup, albeit not “real” type safety