Skip to content
Discussion options

You must be logged in to vote

Not exactly what you're asking, but by far the best way to get some HTML from an API and insert it into the DOM:

let html = "<span>Here's some HTML</span>";
view! { cx, <div inner_html=html/> }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by leorsousa05
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