When & Where to Add “use client” in React / Next.js (Client Components vs Server Components)

ByteGrad
ByteGrad
64.5 هزار بار بازدید - 12 ماه پیش - 👉 NEW React & Next.js
👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Add authentication to your app FAST: https://bit.ly/3QOe1Bh

👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
👉 Professional JavaScript Course: https://bytegrad.com/courses/professi...
👉 Professional CSS Course: https://bytegrad.com/courses/professi...

👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): https://email.bytegrad.com

⏱️ Timestamps:
0:00 Blunder #1
1:30 Client vs Server Components
4:58 When to refactor?
6:03 Blunder #2
8:19 Boundary
9:06 Import twice

#react #reacttutorial #nextjs
12 ماه پیش در تاریخ 1402/04/29 منتشر شده است.
64,594 بـار بازدید شده
... بیشتر