Myvideo

Guest

Login

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

Uploaded By: Myvideo
1 view
0
0 votes
0

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: 👉 Upcoming NextJS course: 👉 Don’t forget to subscribe to this channel for more updates: 👉 Discord server signup: 👉 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 Outr ... #JackHerrington #react_use_hook #use_form_hook #react_hooks #react_19 #usememo #use_hook_react #react_use #react #use_hooks 20240708 t6MeFVF3V9I

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later