4 Block structures
This chapter covers
- Conditional logic in HTML with
- Iteration in HTML with
- Waiting on promises in HTML with
ngFor, while Vue supports
v-for. Svelte supports a Mustache-like ( ) custom syntax that wraps HTML and the components to render.
There are only three kinds of block structures in Svelte:
ifis used to specify ...