Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Aeolun
on Feb 3, 2021
|
parent
|
context
|
favorite
| on:
Using State Machines with React to Make a Confirma...
What in hells name is an #await doing in the HTML render function?
dceddia
on Feb 3, 2021
[–]
The #await is a Svelte feature that lets you handle promises, and show different content when the promise is unresolved/loading, resolved, or rejected. Check out the demo in the docs:
https://svelte.dev/tutorial/await-blocks
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: