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

    Reveal Suspense Components in Order with SuspenseList's revealOrder Prop in React

    reactReact
    ^0.0.0-experimental-b53ea6ca0

    revealOrder is one of SuspenseLists configuration options. It can be undefined, together, forwards, and backwards.

    • undefined (default): reveal children as suspenders resolve
    • together: reveal children together, once all suspenders are resolved
    • forwards: render children from top to bottom, indifferent to suspender resolution order
    • backwards: render children from bottom to top, indifferent to suspender resolution order