Skip to content
JS

Build an App with React Suspense

Course on egghead by Michael Chan

View on egghead (opens in a new tab)
1 h 24 min
LengthVideo runtime
Subscription
Price modelegghead plan
23
Lessons
4.5
Rating out of 515 ratings on egghead
Dec 2019
Published13 Dec 2019

About this course

Description from egghead

🚧 CONCURRENT MODE IS EXPERIMENTAL! 🚧 Michael Chan has years of experience with React, and in this course, he will guide you through the ins-and-outs of working with Suspense. React Suspense gives us a new way of describing with fine-grain controls how users experience should look based on data we have or don’t have. This will change the way you build React applications forever and this is the opportunity to get an early look and head start!

What it covers

23 lessons
  1. 1Build an App with React Suspense: Intro and Setup
  2. 2Import Components Lazily with Suspense React.lazy
  3. 3Catch Errors with a React Error Boundary Component
  4. 4Understand How React.lazy Communicates Loading Status to Suspense and Error Boundaries
  5. 5Wrap Fetch Requests to Communicate Pending, Error and Success Status to React Suspense
  6. 6Separate API Utility Functions from React Components
  7. 7Track Async Requests with React's useState Hook
  8. 8Enable Suspense Features with Experimental Concurrent Mode using ReactDOM.createRoot
  9. 9De-prioritize NonUser-Blocking Updates with React useTransition's startTransition Function
  10. 10Bypass Receded Views with React useTransition's timeoutMs Option
  11. 11Display Loading States Conditionally with React.useTransition's isPending Boolean
  12. 12Delay the Appearance of a Loading Spinner with CSS in React
  13. 13Get Previous Resource Values with React’s useDeferredState Hook
  14. 14Hoist React Component State
  15. 15Avoid this Common Suspense Gotcha in by Reading Data From Components
  16. 16Coordinate Fallback Rendering with the React SuspenseList Component
  17. 17Reveal Suspense Components in Order with SuspenseList's revealOrder Prop in React
  18. 18Avoid Too Many Spinners with React SuspenseList’s tail Prop
  19. 19Pass React Components a useTransition-Wrapped, State-Setting, Callback
  20. 20Augment React Resource JSON with Custom Properties
  21. 21Extract Reusable React Components with an As Prop, Render Props, and React.Fragment
  22. 22Connect a New Endpoints in a React Suspense App
  23. 23Provide Suspensified Data to React Components with Context and useContext

Similar React courses

  1. Develop Accessible Web Apps with React

    egghead · Erin Doyle · 25 lessons · 4.5 from 31 ratings · Dec 2019

    1 h 21 minFree
    egghead254.5 (31)Dec 2019
  2. Build Your First React Website

    Coursera · Harrison Kong · Jun 2020

    Intermediate1 h 30 min
    CourseraJun 2020
  3. Intermediate1 h 30 min
    CourseraSept 2020
  4. Use Suspense to Simplify Your Async UI

    egghead · Kent C. Dodds · 15 lessons · 4.5 from 7 ratings · Dec 2019

    1 h 17 minSubscription
    egghead154.5 (7)Dec 2019
  5. Beautiful and Accessible Drag and Drop with react-beautiful-dnd

    egghead · Alex Reardon · 14 lessons · 4.8 from 30 ratings · Jul 2018

    1 h 3 minFree
    egghead144.8 (30)Jul 2018
  6. Learn React Router v5

    Codecademy · 1 lessons · Jan 2023

    Beginner1 h
    Codecademy1Jan 2023
  7. Beginner1 h
    Codecademy2Oct 2022
  8. Beginner1 h
    Codecademy1Oct 2022

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.

    Compare