-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blacklisted actions still contribute to the actions history #316
Comments
I know this is confusing, we should add more details about it in the docs. The intention is indeed to only hide those action on the monitor part. So they are only not being sent to the extension, but are still present in the lifted state history on the client side. Skipping those actions at all would lead to an inconsistent state during hot reloading and other devtools actions (which invokes recomputing the reducers with all the action objects from the history). In other words, So, you're doing everything right, if you need If you have any ideas on how to describe this better in the docs, a PR would be much appreciated. |
@zalmoxisus Thanks! Looks like it's a difficult case to solve then. |
This is affecting my project too. My app has some actions that are firing multiple times a second. I have blacklisted these, but because of the limit imposed with The solution I have for now is to increase |
Any solution for this? |
I have the same issue. Looks like I'll have to remove some frequently-firing actions from the redux store and instead use an alternate system, as this issue currently makes inspecting the other actions impossible. |
I introduced the concept of dynamic |
It's implemented in |
Thanks for the addition. I'll try it out at some point, when I'm back on the project I had the issue in. |
I would like to hide some type of actions in Redux DevTools history. In the documentation I've found an information about
actionsBlacklist
option, which I am passing toThis has some effect, i.e. I no longer see the blacklisted actions, but behind the scenes they still contribute to the history length, so instead of seeing the history of default length (50) I can only see a couple of most recent actions that has not yet been pushed back but the blacklisted ones.
Looks like increasing the history length, which as far as I understand is controlled by the
maxAge
option, helps a bit but it feels like a workaround rather than a real solution.I am wondering if there's a better way to fix this behavior which I described above and if it's even intended or just a BUG?
The text was updated successfully, but these errors were encountered: