Skip to content

this.$slots contents differ at same lifecycle stage based on slot syntax #11854

Closed
@tehciolo

Description

@tehciolo

Version

2.6.11

Reproduction link

https://codepen.io/tehciolo/pen/zYKaRQK

Steps to reproduce

Check console

What is expected?

I would expect this.$slots to be populated at the same stage for both syntaxes (old and new).

What is actually happening?

this.$slots is populated only starting with mounted when using v-slot syntax


This issue seems related to #9458

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions