Making React Context FAST!

Jack Herrington
Jack Herrington
86.1 هزار بار بازدید - 2 سال پیش - Let's make context as fast
Let's make context as fast as any state manager out there by only using the hooks baked right into React.

Code: https://github.com/jherr/fast-react-c...

👉 Practical Module Federation Book:  https://module-federation.myshopify.c...
👉 No BS TS (The Book): https://no-bs-ts.myshopify.com/

👉 I'm a host on the React Round-Up podcast: https://devchat.tv/podcasts/react-rou...
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup: Discord: discord
👉 VS Code theme and font? Night Wolf [black] and JETBrains Mono

0:00 Introduction
0:49 Demo Application Walkthrough
4:23 Simple useState Based Context
10:24 Does Memoization Help?
11:09 Creating A Ref-Based Fast Context
24:22 Porting to useSyncExternalStore
26:04 Adding Selector Support
28:46 Making Fast Context Generic
32:38 Outroduction


#react18 #reactjs
2 سال پیش در تاریخ 1401/07/25 منتشر شده است.
86,156 بـار بازدید شده
... بیشتر