Closed BrainCrumbz closed 7 years ago
Oh well ... it looks like there is an easy workaround for this: when in production, do not add those modules to imports. Also, define a dummy component like the following:
@Component({
selector: 'ngrx-store-log-monitor',
template: ``,
})
export class DummyComponent {
}
and when in production, append it as a declared component to some module (e.g. the top level one)
You can also use store/dev-tools with the Chrome extension and remove it from your app so it doesn't interfere with AoT https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en
Didn't know that Redux devtools worked smoonhly with ngrx as well. Thanks for sharing info. Will look into this option.
Hi there
checked this past issue, #13 , but it seems that does not apply. Here's our scenario
Before going to AOT compile, in production it was enough to not add those modules to imports. Of course now things change with AOT.
Thanks