React 18 startTransition, useTransition, and Suspense for data-fetching

preview_player
Показать описание
Learn about transitions in React 18 and how they're useful data-fetching with Suspense. We inspect the minimum viable app for data-fetching with suspense and explore how transition hooks — like startTransition and useTransition — can be used to make UI more stable.

00:00 - Intro — Transitions in React 18
01:50 - Suspense for data-fetching MVP
07:20 - Introduction to startTransition
09:33 - Introduction to useTransition

Рекомендации по теме
Комментарии
Автор

Thanks, @chantastic
Awesome content as always.
Fun fact: I learnt React some 4 years ago with your React Christmas/Holiday videos and it has made a big difference in my career.
Thanks for all you do 💯

abiodunsulaiman
Автор

I'm really failing to understand the value of all this. Seems like an overly complicated replacement for loading and error states. What am I missing?

Shizzymynizzy
Автор

hey it would be great to see a playlist with react and react native concepts

shivaingusain
Автор

Thanks for the videos Chan. Experimenting with a new mic?

AravindBalla
Автор

This is super cool. But what do you do if you need to fetch data based on props from the component itself. (namely url params, etc). Because if we move the initial fetch inside the component thats basically infinite loop.

suspicious_kitten