Skip to content

Why doesn't demo codes use function generators on async actions #2295

Answered by jamonholmgren
osrl asked this question in Q&A
Discussion options

You must be logged in to vote

For a long time I didn't really agree with the documentation and felt like async was better, so most of the docs / examples I'd write would use async. However, after running into some issues with async this year, I've since come around and do think that yield/flow is indeed better. So we should align the examples with that recommendation. Good catch @osrl.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@osrl
Comment options

Answer selected by osrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants