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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
What is the current behavior?
When trying to make navigation by pasting the URL in the browser (not by any angular routing methods) canLoad function, ngrx/router-store throws an error:
TypeError: null is not an object (evaluating 'this.storeState['routerReducer'].state.url') navigateIfNeeded
I'm submitting a...
What is the current behavior?
When trying to make navigation by pasting the URL in the browser (not by any angular routing methods) canLoad function, ngrx/router-store throws an error:
Here is the repo to reproduce the issue: https://github.com/MikeSaprykin/ngrx-router-store-canLoad-bug ---> start the app, and navigate in browser by pasting localhost:4200/dashboard in the search bar.
Expected behavior:
All good, lazy-loading route not loaded, redirected to an appropriate route
Minimal reproduction of the problem with instructions:
app.routing.ts
DashboardGuard file:
Version of affected browser(s),operating system(s), npm, node and ngrx:
angular/cli: 1.2.4
npm: 5.3.0
node: 8.0.0
os: darwin x64
ngrx/effects: ^4.0.1,
ngrx/router-store": ^4.0.0,
ngrx/store: ^4.0.0,
ngrx/store-devtools: ^4.0.0,
Other information:
The text was updated successfully, but these errors were encountered: