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

maxAge is not set with instrumentOnlyWithExtension #75

Description

@just-jeb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions