Next.js 14 Tutorial - 60 - Client Component Placement

  Рет қаралды 14,592

Codevolution

Codevolution

Күн бұрын

Пікірлер: 39
@ronitgurjar5747
@ronitgurjar5747 8 ай бұрын
Congratulations on hitting 60 in this series🔥🔥🔥
@nasirkhatri2782
@nasirkhatri2782 5 ай бұрын
Sometimes i wonder why this channel could not hit 1 million subscriber mark! Truly an underrated channel probably. Anyhow I have learnt a lot and still learning
@natcurti
@natcurti 5 ай бұрын
Each video is better than the last, i am learning so much. Fantastic series.
@jasono873
@jasono873 5 ай бұрын
Me too. Incredible! How is your learning process going? Are you down if we journey together and be accountable in Next js?
@ariassingh462
@ariassingh462 4 ай бұрын
@@jasono873 Bro...
@coding-with-confidence
@coding-with-confidence 8 ай бұрын
Although I thoroughly studied the Next.js documentation, this series offered me a crucial insight into effectively managing client components and server components. Thanks for a creating helpful series 💯❤
@vaviloffx
@vaviloffx 8 ай бұрын
Short, to the point and excellently explained, bravo!
@vaviloffx
@vaviloffx 8 ай бұрын
That weirdly blinking cursor though... takes serious willpower to stop staring at it :D
@juststudying1019
@juststudying1019 8 ай бұрын
@@vaviloffx Why you told my about it I can't stop looking at it
@vaviloffx
@vaviloffx 8 ай бұрын
@@juststudying1019 Exactly
@ahmadnku8336
@ahmadnku8336 8 ай бұрын
Loving this series sir. Learnt alot.
@user-hq8sr9yx4c
@user-hq8sr9yx4c 8 ай бұрын
Loving this series
@LuigiMassa
@LuigiMassa 8 ай бұрын
Grazie.
@Codevolution
@Codevolution 8 ай бұрын
Thank you for the support!
@nasirkhatri2782
@nasirkhatri2782 5 ай бұрын
In video 58 we create a context which is client component and wrap the root with it? won't it make our entire application client components based?
@AgnesArrom
@AgnesArrom 2 ай бұрын
Yes.... I don't quite understand it if you want to use the context
@developerfellow1484
@developerfellow1484 Ай бұрын
I think the key here is that the layout component itself wasn't a Client Component (CC), but a Server Component (SC). It happens that the layout component uses a CC and defines children for it, but that doesn't make the layout, nor the children of the used CC, another CC. So the important thing to understand is that anything rendered inside a CC, will behave as a CC.
@developerfellow1484
@developerfellow1484 Ай бұрын
To add some clarity to the comment, if you would move the children of the CC used in the layout to the CC itself, then that would make it behave as a CC.
@akaghzi
@akaghzi 6 ай бұрын
but when added context provider in layout which was a client component , its children remained server components, why is navbar any different?
@chinemelumchuba-nwene1503
@chinemelumchuba-nwene1503 6 ай бұрын
Since Client Components are rendered after Server Components, importing a Server Component into a Client Component module is not possible because it would necessitate an additional request back to the server. Instead, Server Components can be passed as props to Client Components. This approach is evident in our context provider. In ThemeProvider.tsx, we do not directly import any Server Component. Instead, we accept a children prop, which may be a Server Component or another type of component. The crucial distinction is that Server Components cannot be imported into Client Components. React handles this by first rendering Server Components on the server, generating an RSC (React Server Component) payload that includes references to Client Component locations. Then, on the client side, React uses this RSC payload to reconcile and integrate both Server and Client Components into a cohesive component tree.
@testingaccount-x9b
@testingaccount-x9b 5 ай бұрын
@@chinemelumchuba-nwene1503 Many thanks for this.
@testingaccount-x9b
@testingaccount-x9b 5 ай бұрын
Check the next video
@alidarabian2240
@alidarabian2240 4 ай бұрын
best next tutorial💯
@LuigiMassa
@LuigiMassa 8 ай бұрын
Fantastic! 🎉
@ernestamoah9664
@ernestamoah9664 8 ай бұрын
What happen when the search value or results is needed in the landing page for display, in that case do you have to make the landing page a use client component ?
@aleksandrkobelev8868
@aleksandrkobelev8868 8 ай бұрын
Thank you for the video. But I have questions. I have a select and I need to pass the result of selecting to the server component to send requests based on these values. How can I do it?
@VigneshJeevarathinam
@VigneshJeevarathinam 8 ай бұрын
Hi sir when you start expressJs course
@Mottzart1998
@Mottzart1998 8 ай бұрын
How many sessions are left in this course??
@kranthikumar5215
@kranthikumar5215 5 ай бұрын
100 videos Playlist re
@ahmadnku8336
@ahmadnku8336 8 ай бұрын
sir when will this series complete?
@aburaihan-py4vi
@aburaihan-py4vi 8 ай бұрын
Excellent!!!!
@KamalSingh-zo1ol
@KamalSingh-zo1ol 8 ай бұрын
Then why does context provider does not turn whole application into client components as per your 58 video?
@emmalux2
@emmalux2 8 ай бұрын
Weldone codevolution
@chesterxp508
@chesterxp508 5 ай бұрын
GoodJob!
@habibthephantom7040
@habibthephantom7040 5 ай бұрын
i have an question, when we used context provider and wrapped the body tag with the children prop with it. this didn't make the children client components ??? but here with this video the children of the client component is also client components
@madhavjha844
@madhavjha844 Ай бұрын
Did you find any answers?
@madhavjha844
@madhavjha844 Ай бұрын
And what if we create child component a server component
@dinaludagedara5203
@dinaludagedara5203 7 ай бұрын
great
@VigneshJeevarathinam
@VigneshJeevarathinam 8 ай бұрын
Hi sir when you start express js course
10 Tailwind Classes I Wish I Knew Earlier
13:31
Web Dev Simplified
Рет қаралды 200 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 236 М.
Learn Next.js Parallel Routes In 16 Minutes
16:18
Web Dev Simplified
Рет қаралды 142 М.
Learn Next.js 15 in 1 hour - Beginner Tutorial
59:25
Codevolution
Рет қаралды 72 М.
All 29 Next.js Mistakes Beginners Make
1:45:10
ByteGrad
Рет қаралды 156 М.
Next.js Server Actions...  5 awesome things you can do
7:51
Beyond Fireship
Рет қаралды 284 М.
the most important Next.js features to learn (in 8 minutes)
8:26
Web Dev Cody
Рет қаралды 68 М.
Next.js 14 Tutorial - 31 - Intercepting Routes
10:28
Codevolution
Рет қаралды 56 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН