Agreed. {#await...then...catch} is the preferred way to do this, especially considering the fetch is already within an async function, which will return a promise.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi David,
Using a promise to fetch, you could use
await blocks
.Have a look at this: svelte.dev/tutorial/await-blocks
Agreed. {#await...then...catch} is the preferred way to do this, especially considering the fetch is already within an async function, which will return a promise.