Better way to render from string #2252
Unanswered
moonlitgrace
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, so i've an object like this:
I want to render
icon
.now im doing it like:
i was wondering if there is better way to render from string other than this.
like for svelte:
Also that
innerHTML
way is giving eslint error:36:18 error The innerHTML attribute is dangerous; passing unsanitized input can lead to security vulnerabilities solid/no-innerhtml
Beta Was this translation helpful? Give feedback.
All reactions