Skip to content

Computed property changes in parent component does not cause it to re-render. #11184

@rachitpant

Description

@rachitpant

Version

2.6.11

Reproduction link

https://codesandbox.io/s/shy-sea-1fhky?fontsize=14&hidenavigation=1&theme=dark

Steps to reproduce

  1. Type something in the first text box , the changes are propogated to parent component newMessage and the v-modelled computed property changes.
  2. However the parent component does not re-render , as a result the new value is not passed down.

What is expected?

As soon the computed property changes in parent component newMessage , the component should re-render and it should cause this property to be passed down to child Component.

What is actually happening?

The components computed property changes , but the component does not re-render.
As soon as the check the checkbox , the component re-renders as its data changes.

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