Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
text0404
on Aug 15, 2023
|
parent
|
context
|
favorite
| on:
Things you forgot (or never knew) because of React
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.
kwkelly
on Aug 16, 2023
[–]
You would do it as a tagged template literal rather than with plain string templating, similar to Postgres.js
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: