3 ms·
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'))
by hliyan 4y ago
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 4y agoWhat's risky about evaluating your own code on your own pages?