ngrx / store-devtools

Developer Tools for @ngrx/store
MIT License
326 stars 38 forks source link

Not showing state with chrome extension v2.12.1 (Lazy loading) #47

Open IliaIdakiev opened 7 years ago

IliaIdakiev commented 7 years ago

Hello,

I'm using ngrx/store and I have multiple lazy loaded modules. After the updating the chrome extension to v2.12.1 I'm not able to view the stores.

For anyone having problems with v2.12.1 you can download the prev version from here: v2.12.0

zalmoxisus commented 7 years ago

@IliaIdakiev, thanks for the report. That's related to https://github.com/zalmoxisus/redux-devtools-extension/commit/f0e2ec8321a65f01ed210757dcb36db3816530b5. I've just fixed that in https://github.com/zalmoxisus/redux-devtools-extension/commit/2b249b3aff41ef310bbba5f6e1bcb772bb9f11c6. Will publish a patch in few hours.

@MikeRyan52, any reasons to send data directly via window.__devToolsExtension.send not via the connected one?

const devTools = window.__devToolsExtension.connect({ /*...*/ });
devTools.send(/*...*/);
attilacsanyi commented 7 years ago

Hi guys I also have a lazy loaded angular module and using this extension with @ngrx/devtools and StoreDevtoolsModule.instrumentOnlyWithExtension().

Issue: None of the actions of the lazy loaded module are visible in redux-devtools extension (2.12.2.1), but the store working well underneath as expected.

IF I load eagerly the module, all actions well captured by the redux-devtools extension.

I hope it is also the same issue, any update is really appreciated.

emreavsar commented 7 years ago

any updates here? or are you waiting for v3 of the store anyway?

zalmoxisus commented 7 years ago

Could you please provide a repo and more details to reproduce that issue? The one reported here was fixed in 2.12.2. I'm not using Angular and don't know much about ngrx/store structure, but the demo app works with the extension without any issues. Or are you getting any troubles there as well?