<ul>
{% for user in users %}
<li>{{ user.firstName }}</li>
{% endfor %}
</ul>
And we have good syntax for templates now: <ul>
{#each users as user}
<li>{user.firstName}</li>
{/each}
</ul>
Why do we have to squish everything into HTML-like-but-not-quite blocks?But no, JSX isn’t that great either:
<ul>
{users.map(user => (
<li>{user.firstName}</li>
))}
</ul>