4 ms·
>I'm using it with a Rust How’s htmx+rust combo so far? Any issues? Pros/cons?
by tamimio 3y ago
>I'm using it with a Rust
How’s htmx+rust combo so far? Any issues? Pros/cons?
- code_witch_sam 3y agoseems good for low-interactivity sites, especially if everyone is generally looking at the same content. i'd consider it for my company's front-of-site, sales sites, blogs, that sort of thing. i certainly wouldn't write discord, vscode, or even a simple no-code tool with it.
- wrapperup 3y agoI think something like Twitter and Discord could be written in it, but something like Google Maps or VSCode, definitely not. For anything where you need server data rendered, it's perfect. I'm currently writing a website that contains user generated content for a game, kinda like Steam Workshop.
- wrapperup 3y agoMostly great, there is a lack of native Rust frontend tooling outside of Leptos/Dioxus for templated websites, such as static file handling and bundling. Previously, I used vite for this on a templated nodejs website. But I am working on a simple web bundler crate similar to vite to alleviate that (check out the htmx discord!). It's missing the HMR part for assets that can be hot reloaded (it just refreshes your browser), but this will improve things quite a bit for anyone making templated SSR Rust sites. Otherwise, the backend ecosystem is really fantastic in Rust, not much to complain about. Axum is great, and I'm using cornucopia for SQL. Having the type safety is a killer feature.