1. 24
    Redux: Displaying Error Messages
    10m 59s

Redux: Displaying Error Messages

Dan Abramov
InstructorDan Abramov

Share this video with your friends

Send Tweet

We will learn how to handle an error inside an async action, display its message in the user interface, and offer user an opportunity to retry the action.

mobility-team
mobility-team
~ 5 years ago

I don't get why, in the beginning, action creators constants are deleted and used as literals. It seems like through the 2 courses you've went from one way to the other. (vars or literals)

J. Matthew
J. Matthew
~ 2 years ago

I appreciated the explanation of why it might be better to use the error callback in the .then rather than using .catch afterwards. I was just wondering about that when Dan brought it up!