Skip to content

StoreDevtoolsModule: Instrument only with extension for production mode? #374

@maxime1992

Description

@maxime1992

I'm submitting a...


[ x ] Documentation issue or request

What is the current behavior?

In order to use the devtool, I have the following code:

!environment.production
      ? StoreDevtoolsModule.instrument({ maxAge: 50 })
      : [],

The thing is, I used to do StoreDevtoolsModule.instrumentOnlyWithExtension()

Expected behavior:

I'd like to be able to use the redux devtools even in production IF the extension is present and launched.

How can I do that with ngrx V4 and the latest devtools?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions