React Server Components vs Client Components
HTML-код
- Опубликовано: 4 сен 2024
- Hey Everyone, In this video, we are going to take a look at React Server components and NextJS 14. We'll see what server components are how they are different from normal React Client Component and how they are different from Next's Server Side Rendering.
Quick Links
Full Stack Twitter Clone learn.piyushga...
Master Docker learn.piyushga...
Video Titles
- What are React Server Components?
- What are NextJS Server Components?
- NextJS App Directory
- Server Side Rendering vs Server Components.
Hashtags
#react #reactjs #nextjs #webdevelopment #fullstackwebdevelopment #fullstackdevelopers #nextjs14 #opensource
Mindblowing style of teaching
Specially the diagram
🤯🤯
i am watched this before my interview and this diagram in my head i am super confident about this concept....thank you💛💛
I was watching shorts for this topic and your video drops with notification, the coincidence 😂
I know some of this stuff already, but listening to this feels like listening to a story.
Thankyou Piyush, for clearing my doubt on this topic , You are such a great teacher. 💖💖
Now just need a nextjs project course from you which will cover all the important concepts
Great video Piyush. Please consider doing a video on React Server Components payload and how do they stream into clients browsers. This will fill the gap how RSC tree & RCC tree varies and how they bind together
Amazing and easy way of teaching bro i was unable to understand the concept of hydration and difference between server side rendering and server components due to the teacher which is teaching that concepts normaly use heavy techinal jargons which are hard to understand for many people including me but belive me you made it so simple to understand by using very simple words and now my concept is very clear now all thanks to you bro 💞💗
thank you so much piyush for this video, I was getting little confused over this topic, as recently I started to work on my college project where I tried shifting to NextJS from React. It was really helpfull and your way of teaching is so so good man, damm impressive.
if possible I have one more request, if you can explain the concept of routing (app router) in NextJS like this, as I have worked with react-router-dom and I am comfortable with the flow of it, but the way app router works, weither we talk of params, Link, navigation is little different, I would like to see you way of understanding it once in contrast with react-router-dom.
and yeah thanks for the good work man, just keep doing it😄😄🤓
Thanks bro . very well explained not understood the difference.Earlier it was alwasy confusing
wah kamal hogaya. Today itself I was going through the nextJs docs to understand better and viola this video pops up;
This is honestly the best explanation. Thanks!
Before watching this video I was thinking that I might waste 27 mins but I gave it a shot and boom!
This is the by far best explanation I have encountered. Thinking of checking more videos of yours.
And at last how can I forget to say Thanks bro!!
To be honest, you explained it so well, just please add that slides to the description it will be of great help
a fourth step can also be added now next uses Server side generation for getting pre rendered pages and ISR for automatic updation and SSR is only used for fetching data on user request it makes more fast how html was made earlier on server now only server has load of rendering server components. and it makes it more fast initially . because it now decrease the load time and routing from one page to other enhances. thank you🙂
you literally made my concepts crystal clear 💯
Great Video Brother. Was here to know about hydration, but you made some more concepts clear
Thank you so much for your amazing video .Your clear explanation really helped me understand it better.💕
Find your Channel Yesterday and watched SSO video really grate explanation best of luck for your future
Very nice way to explain client and server components ❤
you cleared my confusion Thank Piyush!
finally i understood what is client component and what is server component, Thanks dost
Great explanation, remembering old plain php jquery way of building application.🎉
It's completely worth it to subscribe to your channel.
If we are fetching data in client component we can store it in state snd use it multiple times.... how can we fetch data and use it multiple times
Bro you explained in very easy way
Great teaching style
Hey Piyush, As you mentioned in Next 13.4 app/ there is DBquery first. So what if the query takes more time!
What will be displayed in place of data which we want from db ?
Also, what if we have large file size in server component, will it show blank for few sec ?
P.S : I'm very new to next so, the questions could seem foolish.😅
Btw Amazing video, Great explanation 👍 👏
Potential delays are possible in the dB queries we can use "getServerSideProps" method to fetch data and return a loading state or error state as needed also if possible always try to use graphql api's instead of rest as it only serves what is needed which can reduce loading delays. Hope it was helpful :)
we can stream the data and hence the component, using suspense boundary and fallback loading component
damn explaination of piyush are just next level
Love you bhaiya. You made my concepts about Next.js 14 crystal clear. Subscribed your channel!!!!❤❤❤❤❤❤
Can you please make a video on how to use Redux with Next.js 14 and especially how to handle SSR in case of Redux? And why do we need making new store for each request, because I read the docs of Redux and it was hella confusing....
Again, thank you bhaiya
Content delivered was amazing and thank you for the diagram comparison you showed that has helped to understand things alot 😇
Perfectly explained ❤
please make a full nextjs course with one full stack project
Sir the way you explain us is too good. Looks like listening to a story.❤❤
Bro, what an explanation, 1 number.
Suggestion: bhai course ek number h aapke bs ek suggestion h ki interview v sath sath lelo interviewbit se , the sur bette se connect kr payenge
Wonderfull video brother. I have one question if server components are rendered on server side only then how the data of server components will be transfered from server to the browser previously it was coming inside the js bundle but now as it is removed from js bundle then how tstatic html of that which dont have interactability will come to browser? Because if we inspect in browser we will the html tree of that server component but as you mentioned it will not come in js bundle then how browser is recieving that?
it will receive as json like data
hey piyush do share your exacli draw content in the description, it would save lots of our time
I am waiting for the next js course with typescript and redux toolkit query from piyush bhai.
how nicely you explained , i cant express it, thanks so much
Very useful for understanding usage of SSR. Thanks Piyush!
great explanation Piyush, thank you so much for the concept clarification
this is very helpful for SSR and CSR for understood and one thing tell me that whenever we have multiple event and actions then we will create a separate file for clicking or any actions ?.
the more component we render in server the server will get slower, In this scenario nextjs static generation and client side components are great option as my opinion
Yes it is mostly used for static pages like Blogs/Articles.
The thing is you cannot control the user's machine but you have the option to control a strong machine server
Your way of teaching is amazing, hats off to u❤
Hi piyush your videos is amazing good way to learn stuff can you make video transcoding tutorial to transcode mp4 to hls with different resolution
Very well explained... thanks!
Please explain inline "use server" and server actions as well.
Bro ! Loving your contents . It's my humble request to you to make a course on prisma with graphQL.
Client Components have access to browser APIs, like geolocation or localStorage, allowing you to build UI for specific use cases.
V nicely explained server side rendering
the last point was important thanks for sharing
In Depth Explanation Bro ❤
Keep it Up 😊
That is an awesome video...take love from Bangladesh
Amazing work and explanation!!
StraightForward, Nicely Explained!
My goodness! What an explanation!!! Thank you so much bro. Take ❤
Good topic sir.. very helpful this..
Amazing series sir❤ please continue 🙏🙏
Amazing explained, next topic server Action :)
gajab maja aa gyaa 🤩
beautiful explanation piyush
Such an in depth explanation. Thanks.😊
Your explanations are the best so far......
Amazing, you explained in very easy way , ❤❤❤❤
what an amazing explaination...!!!
i liked the explanation.
thanks for it
keep bringing such informational videos
Nice nice nice.....I love your teaching skill.
It was truly amazing !
One of the best explanations ever👏👏👏
Amazing Explanation brother ❤
hi piyush bro, please make a video on how to resolve CSP(Content security Policy) in nextjs. Iam getting that error while integrating custom stripe payment in my application
Your contents are amazing Piyush!!
Superb Explanation
All doubt's clear thanks a lot bro love from pakistan
Kafi sahi tha ❤❤❤❤❤
Thank you so much for your valuable video
Informative video thanks piyush vaiya❤
cristal clear information thanks great content
Love you bro❤❤❤ Thanks for this video.
Great Stuff, keep making videos. Love your videos
Awesome teaching
extraordinary explanation Greate brother.
Respect Man, You are too good !!!
Awesome explanation.
Please make a playlist on CI/CD pipeline
best till now!!
brother pls make a video on react vs remix, the diffrence and which one is better.
Amazing Explanation Piyush Sir.
Can you explain about webpack, bable etc.
Thanks for this one ❤
Excellent piyush.. ❤
Amazing tutorial. Thanks dude.
Nicely explained, thanks 🎉
Awesome explanation ever, ❤❤❤
Great video sir
Why we need to download entire bundle at once in CSR can't be lazily loaded ?
Great explanation Piyush thanks ❤ quality content
Great Explanation.
Really really Amazing video🎉
worker.forEach is not a function ये कम नहीं करता एक पेज पर और दुसरे पेज पर यही कम करता है... कैसे, क्या समस्या हो सकती है |