Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

maxAge is not set with instrumentOnlyWithExtension #75

Open
just-jeb opened this issue Nov 26, 2017 · 0 comments
Open

maxAge is not set with instrumentOnlyWithExtension #75

just-jeb opened this issue Nov 26, 2017 · 0 comments

Comments

@just-jeb
Copy link

I'm experiencing Chrome crashes while working with my Redux store.

I use Redux DevTools extension for Chrome and I setup store-devtools like this:

 imports: [
        StoreModule.provideStore(combinedReducer),
        ...(environment.production ? [] : [StoreDevtoolsModule.instrumentOnlyWithExtension({
            maxAge: 5
        })])
 ]

After a short investigation I came up with a conclusion that maxAge is not being set while setting it through instrumentOnlyWithExtension (the actions are not getting removed at all).
When I change it to instrumentStore it works perfectly (only 5 actions are being saved).

I guess it means that instrumentOnlyWithExtension does not work properly.

Details:
OS: Windows 7
Browser: Chrome
npm: 5.0.3
store-devtools: 3.2.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant