Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
text0404
· 3y ago · 0 comments
you know about injection vulnerabilities, right? if you really want to spaghetti code your app with string representations of html, you can also use `dangerouslySetInnerHTML` in React.
Comments
[–]
kwkelly
3y ago
You would do it as a tagged template literal rather than with plain string templating, similar to Postgres.js