store-devtools icon indicating copy to clipboard operation
store-devtools copied to clipboard

maxAge is not set with instrumentOnlyWithExtension

Open just-jeb opened this issue 7 years ago • 0 comments

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

just-jeb avatar Nov 26 '17 16:11 just-jeb