V
V
Vann Damm2021-07-26 10:39:29
React
Vann Damm, 2021-07-26 10:39:29

How to undo a parallel saga?

There is a saga that fires when the button is clicked, it just uploads the photo to the server, then I press logOut,
and the saga should be cancelled. But when logged out, firebase sees that the user is not authorized and throws an error. The question is, how to intelligently cancel the firebase request and cancel the saga?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question