-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cannot read property 'asyncComponentsAncestor' of undefined #1256
Comments
考虑把 react-async-component 给换了,用 https://github.com/faceyspacey/react-universal-component 或者自己实现吧。 |
试着升级 example 的 react 到 16,发现这个问题应该和升级 react@16 无关。9539663 |
@sorrycc dva-example 路由没有异步加载,所以不会出现该错误。而 dva-example-user-dashboard 路由使用了异步加载,升级到 react 16,则会出现该错误。 |
使用到dynamic就会出现这个问题 |
使用了()=>还是会报错,不知道为什么 |
v2.0.3 does not include this fix. I'm waiting for this to be release on NPM. Thanks. |
+1 |
|
React 16.0.0
报错:
The text was updated successfully, but these errors were encountered: