useDeferredValue in React
@asidorenko_35K followers
128,170 views
9 Comments
Comments from the original post on X (Twitter)

@asidorenko_
The component that receives the prop should be memoized (otherwise, it'll keep re-rendering when the non-deferred state updates and performance will remain the same)
124 likes

@struhy_xd
Why don't you just set a css variable?
4 likes

@zambani_sahil
If useState can make it happen as well, why to use useDeferredValue
3 likes

@asidorenko_
Performance
9 likes

@mardo12341
Nice!
2 likes

@holykzm
Didn’t know that! Thanks!
2 likes

@tweet_harry00
Nice, thanks for sharing
2 likes

@JohnDoe144277
Is that an actual react hook in 19? I always built something similar on my own and called in something about denouncing, but that’s sick if it’s officially a part of React.
2 likes

@asidorenko_
Yep, since React 18