question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should we clear errors on request actions?

See original GitHub issue

Right 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:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
iwan-uschkacommented, Jan 17, 2021

…extra flexibility

Agree.

…this is important enough to justify it

Agree.

1reaction
Flixboxcommented, Jan 5, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found