Skip to content

Equivalent of leptos::ssr::render_to_string() in 0.7? #3483

Answered by gbj
nmattela asked this question in Q&A
Discussion options

You must be logged in to vote

Types that implement IntoView now just have a .to_html() method that will give you a string of HTML. So you can just call that on your view if you're simply using the library for HTML templating!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nmattela
Comment options

Answer selected by nmattela
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants