Back to Browse

React Suspense

1.1K views
Jan 1, 2024
22:22

In this lesson we will learn about Suspense. React components can use throw to throw a promise, and if the promise is pending the Suspense will display a fallback. The lesson article and source code are available here: https://www.academeez.com/courses/react/suspense #react 0:00 what is suspense 1:50 scenario for using suspense 2:56 Naive solution for scenario 3:47 Problem with Naive solution 6:39 notify with throw 7:29 which parent catch the throw 10:15 more details about suspense 12:44 suspense api 15:16 example suspense 20:15 summary

Download

1 formats

Video Formats

360pmp436.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.