Skip to content

Is it possible to make useDeferredValue to actually do something? #3649

Open
@zsolt-dev

Description

@zsolt-dev

It looks like useDeferredValue does nothing in Preact. This is a code from compat:

export function useDeferredValue(val) {
	return val;
}

Is it possible to implement useDeferredValue it in Preact? If yes, is there a plan for it? What would be a preferred workaround right now?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions