[ x ] Documentation issue or request
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()
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?
@maxime1992 I went through the forked code.
I don't see instrumentOnlyWithExtension anymore in the code.
@brandonroberts is there a possibility to bring that back?
@brandonroberts should I work on this?
@roopkt have you tried something? :)
It's been two months and a half without any "official" answer and I think that if you know how to start on this it might be :ok_hand:
Hi @maxime1992 ,
I started working on this and then stopped.
Because, I am waiting for @brandonroberts to approve for starting a pull request.
Check the migration guide on how to handle in production.
@roopkt @maxime1992 we removed this option previously because of injector issues with Angular. It also streamlined the code path for instrumenting. I'd be open to this being added back if its reliable.
Most helpful comment
@brandonroberts should I work on this?