News for hackers. Stuff that matters.
Re:Bun v0.8.0 by spion on Thursday August 24, 2023 @04:53AM (#37246521)
Modern JS frameworks pre-render the components on the server then they attach to them to "rehydrate" and add JS handlers on the client. They also allow mixing of purely-server-side components (essentially templates, no JS or hydration) and mostly-client-side components (that still pre-render on the server)

For Rust, Leptos (https://leptos.dev/) would be one choice that can do SSR+hydration (but not intermixed with server-side components, at least AFAIK not yet)

There are no comments on this comment yet.