Next.js 14 Tutorial - 50 - Server and Client Components

  Рет қаралды 20,043

Codevolution

Codevolution

4 ай бұрын

✨ Code snippets - pieces.app/
📘 Frontend Interview Course - learn.codevolution.dev/
💖 Support UPI - support.codevolution.dev/
💖 Support Paypal - www.paypal.me/Codevolution
💾 Github - github.com/gopinav
📱 Follow Codevolution
+ Twitter - / codevolutionweb
+ Facebook - / codevolutionweb
📫 Business - codevolution.business@gmail.com
Next.js 14
Next.js Tutorial
Next.js 14 Tutorial
Next.js Tutorial for Beginners
Server and Client Components
Server Components
Client Components

Пікірлер: 22
@SSmithYT
@SSmithYT 3 ай бұрын
Been over a year of reviewing react videos and tutorials, and this tutorial has been the best I've seen. Thank you.
@RaresMarianRosca-jx8yn
@RaresMarianRosca-jx8yn 4 ай бұрын
I feel guilty for having access to this content for free. Vishwas you are amazing!
@shebishebii
@shebishebii 4 ай бұрын
The best number of words spoken per minute. My mind don't have to put too much effort to listen and grab stuff.🔥
@cuti9114
@cuti9114 4 ай бұрын
thanks alotfor this tutorial series. waiting for next episode😁
@ramadhanbridge97
@ramadhanbridge97 4 ай бұрын
Thanks a lot 🎉
@gauravkumawat5811
@gauravkumawat5811 4 ай бұрын
Keep going Vishwaas 🎉🎉 you are going great. I love your content ❤❤. The one thing that makes you different from other Indian KZfaqrs is that you don't waste time in telling useless & bullshit thing and you don't waste time on asking the viewers to subscribe in the starting of the video. You deliever pure perfection. ❤❤ and support from my side
@dev-akeel
@dev-akeel 4 ай бұрын
Yeh that's absolutely true 👍
@Halid-pl1to
@Halid-pl1to Ай бұрын
really great
@abdulrahmanemad1484
@abdulrahmanemad1484 9 күн бұрын
Why are the client components rendered on the client side, if they are already rendered on the server and sent as HTML? To hydrate them?
@HikaruAkitsuki
@HikaruAkitsuki 4 ай бұрын
Can anyone please tell me how can I style my react forms. I turning my old website that I code in html in to react so I follow the guide to turn vanilla html in to react for next js but and I using sass-to-css to style my component but for some reason, I cannot color my input text border to my shader. Is the external css has its limitation or there is some form props that I missed to put? should I start to use tailwind instead of styled component js?
@RaresMarianRosca-jx8yn
@RaresMarianRosca-jx8yn 4 ай бұрын
I never used the 'styled components' library, i may try to use it in the future, but i'm currently using tailwindcss and i recommend it, it's very easy to write and you get used to it pretty quickly with some practice. Regarding your problem with styling, i don't really understand what you mean. If it's the problem that you can't change the border color of your text input it's probably from another styles you have. Make sure to take a look at the other styles. If you still don't find the problem try deleting the styles and remaking them, and start with styling that border that annoys you. I'm sorry if i didn't help
@rishiraj2548
@rishiraj2548 4 ай бұрын
🙏👍
@tarunkhubchandani5869
@tarunkhubchandani5869 3 ай бұрын
I have a doubt - Why client components only render once on the server while reloading the url, but not while navigating to the url from a certain page..??
@hey.............
@hey............. Ай бұрын
+1
@chinemelumchuba-nwene1503
@chinemelumchuba-nwene1503 16 күн бұрын
Client components only render once on the server during the initial load or page refresh to ensure the HTML is fully rendered and ready for hydration by React. During client-side navigation, Next.js optimizes the process by fetching and rendering only the necessary data and components on the client side, providing a faster and smoother user experience. Client components are not re-rendered on the server during client-side navigation because the navigation happens entirely on the client side. Only the required data and components are fetched and rendered on the client.
@dev-akeel
@dev-akeel 4 ай бұрын
Again confused What is difference between react server components vs nextjs server components? Why do we need "use client"; only in nextjs and not in react?
@davidtiw9717
@davidtiw9717 3 ай бұрын
We use use client only in NextJS because it is NextJS framework architecture to do so, so that it “separates” the client side and server side for NextJS when you npm run. Essentially it is covered on the previous video. React doesn’t have that feature because NextJS is a subset of React (framework within React framework) and it has its way of working.
@dev-akeel
@dev-akeel 3 ай бұрын
@@davidtiw9717 1. React is not framework 2. React has support for server components 3. Client vs Server components has nothing to do with npm run 4. What is covered in previous video is different from my question. 4 mistakes in your 2 line answer.
@davidtiw9717
@davidtiw9717 3 ай бұрын
I’ve looked it up. NextJS is the only framework recommended by React doc that supports server components. If that doesn’t answer your question then, I guess you are right that I have no answer to your question.
@dev-akeel
@dev-akeel 3 ай бұрын
@@davidtiw9717 bro your answer has 20 words but hundreds of flaws, let me point one out for you. Can you use document or window object when using a client component "use client" in nextjs. This should clarify your doubt. I have been working in industry for couple of years with nextjs. You couldn't understand my question come back after 2 years, you will understand it.
@Aman-Verma
@Aman-Verma Ай бұрын
@@dev-akeel to use document or window object i guess we would need to wrap them inside guard clause which checks for window object first.
Next.js 14 Tutorial - 51 - RSC Rendering Lifecycle
3:56
Codevolution
Рет қаралды 14 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 60 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 101 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 33 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 147 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 190 М.
Next.js 14 Tutorial - 52 - Static Rendering
13:45
Codevolution
Рет қаралды 16 М.
Next.js Is Confusing - Is This Server or Client Code?
8:28
Sam Meech-Ward
Рет қаралды 2,6 М.
the most important Next.js features to learn (in 8 minutes)
8:26
Web Dev Cody
Рет қаралды 26 М.
How NextJS REALLY Works
28:25
Theo - t3․gg
Рет қаралды 139 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 163 М.
Next.js 14 Tutorial - 49 - React Server Components (RSC)
9:01
Codevolution
Рет қаралды 18 М.
React server components from scratch!
19:43
Ben Holmes
Рет қаралды 30 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 60 МЛН