Skip to content

Debounce and throttle support on "Computed". #7486

@adoin

Description

@adoin

What problem does this feature solve?

I have a setting using computed to implement dynamic structure. But type words always recalculate computed result too quickly.
Also, I need debouce some times to improve performance, when using computed on somewhere user input.

What does the proposed API look like?

const formSetting = computed({ get:()=>{ return {sth...} }, debounce:1000 })

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions