Skip to content

Action => single effect or multiple actions & effects? #3377

Answered by mbrandonw
technicated asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @technicated, either of these are completely fine and it's up to you which you want to use. The 2nd has the benefit of being able to use data from the newly modified state in order to make the second network request, but if that's not needed the first is completely fine.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by technicated
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