Registry / web-framework / dioxus-ssr

dioxus-ssr

JSON →
library0.7.9rscratesunverified

Server-side rendering for Dioxus applications, rendering components to HTML strings.

# Cargo.toml [dependencies] dioxus-ssr = "0.7.9"
INSTALL
IMPORT
SIG · DIOXUS-SSR
D
dioxus-ssr
web-frameworkrustv0.7.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

render
use dioxus_ssr::render;

Renders a Dioxus component to an HTML string.

use dioxus_ssr::render; fn app() -> dioxus::prelude::Element { rsx! { div { "Hello, SSR!" } } } let html = render(app()); println!("{}", html);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
1
Resources