Skip to content

Children in slot not rerendering #3386

@blocka

Description

@blocka

Vue.js version

^2.0.0-beta.5

Reproduction Link

https://jsfiddle.net/chrisvfritz/rpmce1v8/

Steps to reproduce

Have one or more branches of code where the same component is rendered with different children. Subsequent renders of one of the other branches, will not show the new children.

return this.inner1 
        ? h(Outer, () => 'Inner1') 
      : h(Outer, () => 'Inner2')

Set inner1 to false

What is Expected?

The screen will show "Inner2"

What is actually happening?

The screen continues to show "Inner1"

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