useDeferredValue lets React continue showing an older value while it prepares rendering for the newer value in the background.