You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal reproduction of the bug/regression with instructions:
After upgrading my NGRX store to the latest version, I have been trying to configure my store so that production builds do not fail (because of AOT requirements). I followed this example: #306 (comment)
Having now done that, I am suddenly having issues selecting state from the store that is more than 1 level deep in the state tree.
For example:
this prints the complete state tree correctly this.store.select(s => s).subscribe(s => console.log(s));
whereas this prints 'undefined' this.store.select(s => s.branch1).subscribe(s => console.log(s));
Minimal reproduction of the bug/regression with instructions:
After upgrading my NGRX store to the latest version, I have been trying to configure my store so that production builds do not fail (because of AOT requirements). I followed this example:
#306 (comment)
Having now done that, I am suddenly having issues selecting state from the store that is more than 1 level deep in the state tree.
For example:
this prints the complete state tree correctly
this.store.select(s => s).subscribe(s => console.log(s));
whereas this prints 'undefined'
this.store.select(s => s.branch1).subscribe(s => console.log(s));
Here is my example code:
https://stackblitz.com/edit/angular-fbmtou
Expected behavior:
I expect to select from the state tree more than 1 level deep
Versions of NgRx, Angular, Node, affected browser(s) and operating system(s):
NGRX: 6.0.1
Angular: 6.0.0
Node: 8.10.0
Chrome
Windows 10
The text was updated successfully, but these errors were encountered: