/plushcap/analysis/sentry/sentry-redux-middleware-error-logging

Rich Error Logging & Reports with Redux Middleware

What's this blog post about?

Redux is a JavaScript library that helps manage application state in complex applications. It has become increasingly popular since its introduction in 2015, especially among React developers. Redux makes it easy to know the state of your app at the time of the crash and the action(s) that preceded the crash. Middleware can be written to automatically capture these values from your application at crash time so you have more detail for JavaScript error tracking. An example middleware function, crashReporter, captures errors during dispatch and passes them to a crash reporting service along with a dump of the current application state and the action that was being triggered.

Company
Sentry

Date published
Aug. 24, 2016

Author(s)
Ben Vinegar

Word count
592

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.