Redux-devtools: Any support to "blacklist" actions?

Created on 14 Feb 2017  路  1Comment  路  Source: reduxjs/redux-devtools

Background

I have a heartbeat (HTTP request) that gets sent to the server every 30 seconds. I also have a second heartbeat that checks the last time my EventSource feed last sent a message. So effectively I have two heartbeats going on. It's a real time app and important to know the status of the connection.

Complaint

My redux devtools are littered w/ "DATAFEED_HEARTBEAT" events. It pollutes the real actions that are pertinent to the application state.

Question

Is there anyway to "blacklist" some actions from appearing on the devtools list?

Alternatively

If there is no support, can I make a PR to support this feature? Does anyone envision any issues?

Most helpful comment

If you're using browser's extension it's already there. If not, you can include Filter Actions Compassable Monitor. In both cases the actions are blacklisted while sending data to the monitor, not in Redux DevTools enhancer as it would lead to inconsistent state.

>All comments

If you're using browser's extension it's already there. If not, you can include Filter Actions Compassable Monitor. In both cases the actions are blacklisted while sending data to the monitor, not in Redux DevTools enhancer as it would lead to inconsistent state.

Was this page helpful?
0 / 5 - 0 ratings