Preparing search index...

    Module useDeferredMount

    useDeferredMount - Defer a heavy subtree to a lower-priority render

    Returns false on the first (high-priority) render and true on a subsequent render that React schedules at transition priority, via useDeferredValue's initial-value form.

    Gate expensive subtrees (long lists, form-heavy dialogs) behind the returned flag so the opening frame — a navigation transition or a dialog entrance — paints immediately and the heavy work reconciles right after, without blocking the animation. Unlike requestIdleCallback or timer-based deferral, this stays inside React's concurrent model: the deferred render is interruptible and needs no timers or manual cleanup.

    useDeferredMount