You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect it to revert the removal of a book if the API call failed.
What is missing from the example app is the removal of the book in the collection when the removeBook action is dispatched.
The same counts for the addBook and addBookFailure actions.
Basically this SO post https://stackoverflow.com/questions/60417722/ngrx-handle-api-failure
Should line below be removed given it has no effect / should
removeBook
optimistically remove the book?Happy to create PR whichever way
Describe any alternatives/workarounds you're currently using
Other information:
If accepted, I would be willing to submit a PR for this feature
[ x ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No
The text was updated successfully, but these errors were encountered: