Skip to content
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

Error: loadable-components state not found #36

Closed
kikoanis opened this issue Feb 3, 2018 · 3 comments
Closed

Error: loadable-components state not found #36

kikoanis opened this issue Feb 3, 2018 · 3 comments

Comments

@kikoanis
Copy link

kikoanis commented Feb 3, 2018

I commented on a closed issue and I thought you may not notice it so I am repeating myself here

Not sure if this change was necessary
if (!state || !state.children)

You may not have a component that needs to be lazy loaded

@antonybudianto
Copy link

antonybudianto commented Feb 4, 2018

Same issue, route with lazy-loaded components is working while the one without it, is not working.

I think this line didn't check for empty object, the state is {} from my debug result (route with no lazy loaded components)

@gregberge
Copy link
Owner

Yes you are right, sorry for this!

@antonybudianto
Copy link

Thanks, now it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants