zalmoxisus / redux-devtools-extension

Redux DevTools extension.
MIT License
13.5k stars 1k forks source link

Blacklist not working? #80

Closed Anahkiasen closed 8 years ago

Anahkiasen commented 8 years ago

Maybe I'm doing it wrong, I instrument the extension like this:

const enhancers = compose(
        middlewares,
        reset(),
        window.devToolsExtension ? window.devToolsExtension({
            actionsBlacklist: ['REDUX_STORAGE_SAVE', 'game/NEW_CYCLE'],
        }) : f => f,
    );

But I still see those actions in the devtools:

screen shot 2016-03-27 at 22 09 20

Tried blacklisting those actions in the extension's options but same thing. Does the devtools call need to be at a certain position in the enhancers or something?

zalmoxisus commented 8 years ago

Thanks for the report!

In the first case you're doing everything right, this feature was just added 2 days ago, it is not on Chrome store yet.

When you was trying to blacklist the actions in the extension's options, you probably forget to apply the checkbox as well.

Just published 1.0.0.17, it should be available in few hours.

Anahkiasen commented 8 years ago

Works fine now, thanks!