Hacker News new | past | comments | ask | show | jobs | submit login

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">



What's risky about evaluating your own code on your own pages?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: