Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hliyan
on Dec 11, 2022
|
parent
|
context
|
favorite
| on:
Breaking up with JavaScript front ends
Just checked alpine.js. While it's very nice, was a bit worried about this potentially risky eval use:
<div x-html="(await axios.get('/some/html/partial')).data">
remram
on Dec 12, 2022
[–]
What's risky about evaluating your own code on your own pages?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: