Warning: React 19's use Hook Can Impact App Performance

Описание к видео Warning: React 19's use Hook Can Impact App Performance

React 19 and the NextJS App Router have the use hook, and it's great. We can now await promises in client components. But there are some gotchas with it that we need to explore.

Code: https://arc.net/l/quote/eokiyxsr

👉 Upcoming NextJS course: https://pronextjs.dev
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup:   / discord  
👉 VS Code theme and font? Night Wolf [black] and Operator Mono
👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF

00:00 Introduction
01:20 Tacking Tricky State Resets
02:59 How React Flips Component “Modes”
04:26 Don’t Worry About This Too Much
04:53 The Behavior Changes After Render
06:40 How use Impacts Performance
10:04 Hoisting Fixes Everything
12:15 Outroduction

Комментарии

Информация по комментариям в разработке