How big is too big for a single React component? Should you nest component definitions inside of other components? Are there performance issues with huge components? Let’s find out!
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
0:00 Introduction
1:31 Why Mega Components Are Slow?
3:49 How Not To Fix It? (Nesting Components)
6:41 Using A State Manager For Shared State
8:12 More Components Hurt Performance?
10:53 A Production Worthy Example
11:50 Outroducti ...
#JackHerrington #react #react_js #react_native #react_app #react_component #react_forget #react_use #react_router #react_useeffect
20240219
NsFmOttIW9Y
7 views
557
266
20 hours ago 00:04:15 0
This Switch Is So Smart It Might Hack Your Brain | NETGEAR GS728TP Review (PoE Beast Mode) - YouTube
2 days ago 00:00:22 2
One Pedal, Infinite Fuzz?! Check out the Kernom Moho in Action!
2 days ago 00:06:37 0
Pink Floyd - “Another Brick in The Wall “ PULSE Remastered 2019
3 days ago 00:03:44 0
Your CCTV Setup Is Lying to You | This Tester Exposes Everything in 7 Inches! - YouTube