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

Weird error when creating asyncComponent with router #39

Closed
justgook opened this issue Apr 28, 2017 · 4 comments
Closed

Weird error when creating asyncComponent with router #39

justgook opened this issue Apr 28, 2017 · 4 comments

Comments

@justgook
Copy link

Warning: Failed child context type: Cannot read property 'asyncComponentsAncestor' of undefined
    in AsyncComponent (created by Route)
    in Route
    in div
    in Router (created by ConnectedRouter)
    in ConnectedRouter
    in Provider

looks like there is no validation - that context could not exist - so it throws that error - but after that works as expected (from my point of view)

@justgook
Copy link
Author

looks like related to the facebook/react#3392

@Asp3ctus
Copy link

Asp3ctus commented Sep 23, 2017

any workarounds?

@ctrlplusb
Copy link
Owner

I have a fix for this in progress.

@ctrlplusb
Copy link
Owner

Fix is queued in master, should be released shortly.

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