Skip to content

Resolving nested async functional components is broken #9643

Closed
@derz

Description

@derz

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions