Skip to content

When the recalculated values of the dependent computed properties have not changed, the calculated properties of all dependent are recalculated. #8751

Closed
@txs1992

Description

@txs1992

What problem does this feature solve?

Sorry, the following content is not translated accurately, so use Chinese.

Example

当程序中出现链式计算属性依赖时,我们可能希望的是仅当被依赖的计算属性变更时,它所依赖的计算属性才会重新去计算。而不是因为被依赖的计算属性重新计算链了,所以所有依赖它的计算属性都要重新计算。这样在链式的依赖的计算属性中,可以节省很多计算工作。

What does the proposed API look like?

仅当被依赖的计算属性变更时,它所依赖的计算属性才会重新去计算。

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