How to handle API requests within actions? #2234
Unanswered
ashkan117
asked this question in
Help and Questions
Replies: 0 comments
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.
-
I am trying to implement undo/redo type actions for a todo list but I am running into some questions as to how to handle the API requests to the backend.
I want to make the actions like complete and delete to be undoable
Regardless, how do people usually handle pinia actions and web requests? If you have api calls in your pinia actions it seems like it is harder to test later.
Beta Was this translation helpful? Give feedback.
All reactions