Replies: 1 comment 1 reply
-
|
Yes, AFAIK, that's the intended way of working with the new async features. Unrelated, but what exactly are you trying to achieve with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is probably the most common thing people need to do but I am still unsure especially with the new async stuff in the works.
I think a good example is selecting an item from a list, like a combobox.
Would this be the best approach:
Before with
{#await promise then x}blocks you could not access the result of promise in the code which was restrictive. There are many times you want to run a second async operation on the items of the first operation.Other discussion
https://www.reddit.com/r/sveltejs/comments/1mud7g2/async_svelte_is_awesome_but_best_practices_needed/
Beta Was this translation helpful? Give feedback.
All reactions