Handling RSC Errors in Next.js

Опубликовано: 16 Май 2025
на канале: Ryan Toronto
3,566
196

In today's video we'll use an error boundary to refresh a React Server Component that threw an error. We'll also dive into transitions and see how they allow us to batch together state updates that finish at different times.

0:00 - Intro
1:06 - Error handling in Next.js
2:11 - Resetting without fixing the error
3:16 - Rerunning the server component
4:23 - Avoiding race conditions with transitions
6:47 - Why a transition is needed

For more videos on React Server Components check out Build UI: https://buildui.com/?utm_source=youtu...