1×
Become a member
to unlock all features

Create egghead account to access 1,000+ tutorials and resources from expert developers.

Create account
Autoplay

    Render HTML directly into a component in Svelte 3

    sveltesvelte

    Disclaimer: please use this feature carefully.

    Sometimes we need to render HTML (that comes from a source that we trust!) directly into a component, for instance when we're using a WYSIWYG editor that we control.

    In this quick lesson we're going to learn how to use @html in order to render HTML markup from a textarea into a div element.