#3649·preact

Is it possible to make useDeferredValue to actually do something?

Author: zsolt-devCreated Aug 7, 2022Updated Jun 27, 2023
Labelsdiscussionfeature request

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

bash
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