Want this course?
Embedding strings of HTML
Sometimes you have a string filled with HTML and you want that HTML to show up in a component. This is sometimes unsafe (if the HTML was written by a user) but sometimes it's not (if you controlled the HTML generation). Don't do it if it's unsafe, but in this lesson, we look at how to embed that HTML directly in the component.
Code is available: lispcast/understanding-re-frame
Code for this particular lesson is available at the
You can checkout the code in your local repo with this command:
$CMD git clone https://github.com/lispcast/understanding-re-frame.git $CMD cd understanding-re-frame $CMD git checkout -f 015