Comments (6)
Ignore this, it was my fault, I was mutating my 'passed' state in a way that still mutated my old state!
from raven-for-redux.
Do you think we should improve the documentation to remind people not to mutate?
from raven-for-redux.
Probably a good idea actually. It was pretty obvious when I did it because it totally broke everything but might not be so easy if people would only make small changes.
from raven-for-redux.
@ChrisSargent I'm curious to what you do when the state is too large. Is there any way to figure that out before you send the error out with sentry? or do you just send specific reducers?
from raven-for-redux.
I don't think it's possible to accurately measure the size of the data before it is sent. For now, I think your best option is to use your knowledge of your application to omit portions of your state which you are large and are unlikely to be useful for diagnosing errors.
More info here: https://docs.sentry.io/learn/quotas/#attributes-limits
from raven-for-redux.
Hi @akhayoon, yes, I didn't measure the size, I just did as @captbaritone suggested above. I remove the parts of my state that I know are large and actually irrelevant. e.g. for a blog post, I send in the ID of the post but not the actual content.
from raven-for-redux.
Related Issues (20)
- SSR Usage instruction missing on README.md HOT 1
- What kind of errors will be captured? HOT 1
- React Native Sentry dosn't collect extradata HOT 22
- An in-range update of react is breaking the build 🚨 HOT 3
- An in-range update of prettier is breaking the build 🚨 HOT 20
- Running on node-js causes a memory leak HOT 2
- An in-range update of webpack is breaking the build 🚨 HOT 67
- any example how to use getusercontext ? HOT 2
- An in-range update of raven-js is breaking the build 🚨 HOT 4
- Is it possible to capture only certain errors? HOT 2
- An in-range update of react is breaking the build 🚨 HOT 22
- Not working for new @sentry v4 beta versions HOT 8
- An in-range update of eslint-config-prettier is breaking the build 🚨 HOT 1
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 16
- An in-range update of webpack-dev-server is breaking the build 🚨 HOT 26
- License HOT 2
- Jest Test Error HOT 2
- Support for @sentry/browser HOT 1
- Add support for @sentry/browser HOT 15
- GDPR: Filter data before sending HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raven-for-redux.