|
|
|
|
|
by nicoburns
385 days ago
|
|
> Are there any approaches which implement server-side rendered SPAs with Rust? In that case Rust would render the HTML for the first load and server JSON APIs for changes in the SPA Yes, frameworks like Dioxus (https://github.com/dioxuslabs/dioxus) implement next.js-like "fullstack" SPAs in Rust (the client-side code compiles to WASM). > Rendering the HTML is performance-intensive in my experience, using Rust could save up quite some computational resources. The server-side performance is indeed much better than JS alternatives (client-side performance is more or less the same). |
|