Lesson 3.2

Deferring expensive values

A deferred value lags behind the real one on purpose, letting the urgent render finish first with the previous result.

Duration
8m
Level
Advanced
Students
4.7k students

Overview

A deferred value lags behind the real one on purpose, letting the urgent render finish first with the previous result.

In this lesson you will:

  • Defer a value that drives expensive rendering
  • Choose between deferring a value and wrapping an update
  • Communicate staleness to the user while it catches up

Resources

React documentation

The official reference for the tools used in this lesson.