Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    De-prioritize NonUser-Blocking Updates with React useTransition's startTransition Function

    reactReact
    ^0.0.0-experimental-b53ea6ca0

    In blocking rendering, all updates have the same priority.

    In Concurrent Mode, work is "interruptible". And user-blocking updates are treated with highest importance.

    To keep interfaces interactive and snappy, we can de-prioritize slower updates.

    The useTransition Hook — and its startTransition function — allows React to schedule work after higher priority work.