SolidJSS
SolidJSโ€ข3y agoโ€ข
4 replies
eponymous

Render HTML from string

I have a string containing HTML tags which I want to render as HTML. For example, this can be accomplished in Svelte with a special @html directive: https://svelte.dev/tutorial/html-tags. However, I don't see a similarly straightforward way to accomplish this in SolidJS. Am I missing something?

Thanks!
Was this page helpful?