Error Reporting with Sentry in React Native
Mitch Masia
281

Hey Mitch I am trying to use store.getState() and I came across this article. I’ve a custom middleware for business logic in my app and when I use store.getState() in the Sentry.setExtraContext(), it seems to have modified the store for some reason. This definitely sounds weird and if move store.getState() out of Sentry.setExtraContext() just to see how it goes, nothing like that happens. It almost seems like calling store.getState() from the Sentry.setExtraContext() breaks the redux store for some reason. I’ve been trying to fix it but no success so far. How are you passing store for the sentryUtils setExtraContext()?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.