Skip to content

Dynamic components, ready, activate and v-for strange behaviour #2445

@straps

Description

@straps

Vue.js version

1.0.17

Reproduction Link

https://jsbin.com/lagucugemu/12/edit?html,js,output

Steps to reproduce

Create 2 components, one that reference the other, and use it in a v-for loop

What is Expected?

Component ready callback should always be be called

What is actually happening?

I have a component that references another component.

Everything works well until I use it in a v-for loop

Outside v-for it renders ok
<component :is="compB"></component> ==> Component B containing "component A"

Inside v-for component-a ready callback gets never called
<component v-for="n in 1" :is="compB"></component> ==> Component B containing "component ???"

Is there a valid reason for this or is it a bug?

Thanks

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