Should we clear errors on request actions?
See original GitHub issueRight now we do it, but I feel we shouldn’t. We don’t clear data
, so I think we shouldn’t error
too. It would be cleared anyway on success, and the user will always have a choice whether to render error during loading new request or not. Right now error is gone on loading, so displaying it then without copying error as local state is not possible.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to clear error message coming from redux actions
The best approach for me is to use the first method, but choosing carefully how much errors you display for each page or...
Read more >Error Messages: Examples, Best Practices & Common Mistakes
Useful error messages can keep users on your site and increase conversions. See examples and learn the best practices.
Read more >How to Write Good Error Messages - UX Planet
Write error message in clear and simple language. User should be able to understand the problem while reading an error message.
Read more >How to Write Good Error Messages - UX Design World
Write error messages in clear and simple language. The user should be able to understand the problem while reading an error message.
Read more >Best Practices for API Error Handling - Nordic APIs
Generally speaking, it means one of two things — something was so wrong in your request or your handling that the API simply...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agree.
Agree.
I see now that your original post is not related to my issue at all. I will do more troubleshooting and open a new issue as needed.