-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Resolving nested async functional components is broken #9643
Labels
Comments
I can't reproduce this locally. This may have something to do with functional template compilation? Can you manage to provide a repro without Nuxt or any build system involved? |
After looked source code, I guess this can only happen with SSR, I will try make a test case for this. |
13 tasks
yes, as mentioned by @dejour the bug only happens with SSR. Should I still add another repro without nuxt? |
yyx990803
pushed a commit
that referenced
this issue
Mar 13, 2019
kiku-jw
pushed a commit
to kiku-jw/vue
that referenced
this issue
Jun 18, 2019
This was referenced Aug 29, 2019
This was referenced Sep 22, 2019
Lostlover
pushed a commit
to Lostlover/vue
that referenced
this issue
Dec 10, 2019
This was referenced Jan 20, 2020
This was referenced Jan 21, 2020
This was referenced Feb 24, 2020
This was referenced Mar 4, 2020
This was referenced Apr 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.8
Reproduction link
https://codesandbox.io/s/l07lp5vom
Steps to reproduce
As already quickly mentioned in here 03c13de nested functional components are broken since 2.6.8
1.) I have 2 functional components in the repro (
Logo.vue
/LogoWrapper.vue
)2.) The components are registered globally as async components (doesn't really make sense in this case.. but you should get the point :-)). Check
components/_globals.js
3.) Using one of the component in the other (Logo inside LogoWrapper) breaks with the errormessage "Cannot read property '$on' of null" - this was working prior to 2.6.8
What is expected?
Components are renderer, no error message.
What is actually happening?
TypeError
Cannot read property '$on' of null
The text was updated successfully, but these errors were encountered: