angular-architects / ngrx-toolkit

Various Extensions for the NgRx Signal Store
MIT License
128 stars 21 forks source link

[Bug] withDevtools - non-root store #63

Closed begrs closed 4 weeks ago

begrs commented 1 month ago

If the store is not set as "provide in root" then the devtools will not show the store at all. No clue why this would be an issue in the implementation yet, but it does not seem to work in our setup. Root stores work just fine.

I will investigate this myself, too. Just wanted to post the issue immediately to keep track of it for new versions of the withDevtools/updateState developments.

rainerhahnekamp commented 1 month ago

@begrs it should show up as soon as you navigate to a component which uses the store - not before. Can you please check?

begrs commented 1 month ago

If it is working for you, I will try to supply a code example on monday. It does not work for us. The root store works when navigating to the component (because we use lazy loading routes, even root stores do not initialize before), but the non-root stores did not show up at all.

rainerhahnekamp commented 1 month ago

Hey @begrs I just rechecked it and it works in my example. It would be great if you could come up with one on your own.

rainerhahnekamp commented 4 weeks ago

Closing this one. If this issue re-appears don't hesitate and re-open it.