How do you manage CSS with server rendered HTML in Hono?
Do most of you just use built-in css helpers, which are basically executing javascript to generate stylesheets?
I'm creating app which will be most likely 90% rendered on server, maybe creating static CSS files and serving them would be more efficient?
On the other hand - I'd really like to use some UI framework, maybe even headless. Any opinions?
4 Replies
i've really enjoyed working with tailwind on the whole
i haven't used it with a hono app though
are you using hono jsx? react? something else?
i'm using hono/jsx for my templates. i like it so far, i like the flexibility of it. however i'm unsure whether to bring something complicated into the mix.
i've used tailwind in the past, i'm not a huge fan of it. i think it's good for some project but for something long term, i'd like to avoid it.
fair enough. tailwind can definitely get unweildy
what are your goals/requirements for a css util?
and what's motivating you to consider an alternative to hono jsx?
i really like radix-ui. if you're looking for something beefier than hono/jsx, i'd probably go w react
i'm still looking for a css solution i really like, tbh
you could try looking through #showcase. i expect there are some projects there you could draw inspiration from
i'll stick with hono jsx i think, that should be enough.