Skip to content

Component is re-rendered when computed value stay same and its dep value changes. #11399

@07akioni

Description

@07akioni

Version

2.6.11

Reproduction link

https://codesandbox.io/s/vue-computed-test-nc9s7?file=/src/App.vue

Steps to reproduce

Follow the link

What is expected?

The render function shouldn't be called when its dependent computed value isn't changed.

What is actually happening?

Every time the value changes, the component is re-rendered, even if the computed value is not changed.

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