Crates.io | bloom-ssr |
lib.rs | bloom-ssr |
version | 0.1.0 |
source | src |
created_at | 2024-07-15 20:29:33.808489 |
updated_at | 2024-07-15 20:29:33.808489 |
description | Server-side rendering for bloom-html |
homepage | |
repository | https://github.com/mismosmi/bloom/tree/main/bloom-ssr |
max_upload_size | |
id | 1304296 |
size | 8,927 |
Server-Side Rendering for the bloom-framework.
See bloom-core for the basics or bloom-html for how to use bloom in a browser context.
See bloom-client for how to add client-side rendering.
bloom-ssr provides two basic APIs: render_to_stream
and render_to_string
to render bloom components for the web (Component<Node = bloom_html::HtmlNode>
) in a server-side setting.
Tested with axum
.
See bloom-server-example for an example implementation.