Skip to content

Render function called whenever a computed value's dependency is updated, though the value didn't change #7767

Closed
@fnlctrl

Description

@fnlctrl

Version

2.5.13

Reproduction link

https://jsfiddle.net/72gzmayL/

Steps to reproduce

Open the jsfiddle link, see console output.

What is expected?

Render function isn't called.

What is actually happening?

Render function is called even when nothing is changed.


This creates unnecessary render function calls, which leads to performance issues when the component is complex and render function calls aren't cheap.

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