-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui-router doesn't catch nested lazy loaded states #7
Comments
https://ui-router.github.io/docs/latest/interfaces/state.statedeclaration.html#lazyload I think that should be: // About
const rootState = {
name: 'about',
url: '/about',
lazyLoad: () => System.import('./about').then(module=>module.states)
}
// Contact
const aboutState = {
name: 'about.contact',
url: '/contact',
lazyLoad: () => System.import('./contact').then(module=>module.states)
} |
Thank you for the bug report. There is a fix coming in UI router core version 1.0.2 |
Awesome! off topic question, what about ui-router with redux? Is there something planned? I can help with that. I'm currently migrating from RR2 to fantastic UI-Router but the redux thing is only missing piece to perfection. thanks |
I'd like to discuss about the redux integration here (#9) to see what you had in mind |
When I have state structure like this ( nested + lazily loaded )
About and nested Contact wont catch, when going directly to
/about/contact
, and transition to nothing, although About chunk loads, but that's it.Here is the code:
https://github.com/ngParty/React-scaffold/tree/ui-router
Here is the gif:
The text was updated successfully, but these errors were encountered: