'What's the use of the logOnly option in ngrx DevTools?

I've read the minimalistic docs at https://github.com/ngrx/platform/tree/master/docs/store-devtools, and understood that you can add instrumentation as follows:

StoreDevtoolsModule.instrument({
  logOnly: environment.production
})

Supposedly, if the logOnly flag is true, your app will connect to the Redux DevTools extension in a log only mode, it'll have very little overhead as it shouldn't store the state data, but only log the action names that are happening during the runtime.

But in my experiments, I still see the state data in the ngrx DevTools panel, so what're the benefits of using logOnly:true?



Solution 1:[1]

Using logOnly guarantee the integrity of the state.

You can't modify it as e.g action dispatcher is switched off. In log-only mode, you can review the log, but you can't modify it.

Solution 2:[2]

In case anyone else runs into this specific problem, I managed to solve it by using a Docker base image of Debian BUSTER and using libCEC 4.x.x. I do not know which of these two was key but it now works.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Smith
Solution 2 Ash