Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agree with this. Iterating with Array.map and returning nodes to compose, say, unordered lists in JSX is most decidedly un-HTML-like.

I can see the drawback to learning yet another templating language, and on this point I’d just say “to each their own”. I feel like either approach is fine. Svelte’s templating is pretty minimal, so there isn’t much to learn.



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

Search: