React Server Components vs Client Components

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2023
  • 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.piyushgarg.dev/learn/tw...
    Master Docker learn.piyushgarg.dev/learn/do...
    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

ความคิดเห็น • 142

  • @technologygadget6570
    @technologygadget6570 8 หลายเดือนก่อน +14

    Mindblowing style of teaching
    Specially the diagram
    🤯🤯

  • @tishukr930
    @tishukr930 8 หลายเดือนก่อน +3

    I was watching shorts for this topic and your video drops with notification, the coincidence 😂

  • @rog0079
    @rog0079 8 หลายเดือนก่อน +4

    Now just need a nextjs project course from you which will cover all the important concepts

  • @niteshmodi5468
    @niteshmodi5468 5 หลายเดือนก่อน +1

    Great Video Brother. Was here to know about hydration, but you made some more concepts clear

  • @shivanggupta7853
    @shivanggupta7853 8 หลายเดือนก่อน +2

    Thankyou Piyush, for clearing my doubt on this topic , You are such a great teacher. 💖💖

  • @mongodb-hm6bl
    @mongodb-hm6bl 3 หลายเดือนก่อน

    great explanation Piyush, thank you so much for the concept clarification

  • @mukulsinghbisht2434
    @mukulsinghbisht2434 4 หลายเดือนก่อน

    how nicely you explained , i cant express it, thanks so much

  • @gauravvan
    @gauravvan 7 หลายเดือนก่อน +1

    I know some of this stuff already, but listening to this feels like listening to a story.

  • @sachityadav4141
    @sachityadav4141 3 หลายเดือนก่อน

    StraightForward, Nicely Explained!

  • @pranavwani
    @pranavwani 7 หลายเดือนก่อน

    Very useful for understanding usage of SSR. Thanks Piyush!

  • @jewelthomas668
    @jewelthomas668 2 หลายเดือนก่อน

    Content delivered was amazing and thank you for the diagram comparison you showed that has helped to understand things alot 😇

  • @rameesmohammed4823
    @rameesmohammed4823 8 หลายเดือนก่อน

    Great explanation, remembering old plain php jquery way of building application.🎉

  • @theuniverse8948
    @theuniverse8948 8 หลายเดือนก่อน

    Find your Channel Yesterday and watched SSO video really grate explanation best of luck for your future

  • @arushraj3807
    @arushraj3807 6 หลายเดือนก่อน

    Your way of teaching is amazing, hats off to u❤

  • @hersheynaik3029
    @hersheynaik3029 8 หลายเดือนก่อน

    wah kamal hogaya. Today itself I was going through the nextJs docs to understand better and viola this video pops up;

  • @JeetKRamnani
    @JeetKRamnani 8 หลายเดือนก่อน +3

    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 💞💗

  • @codingintelugu8820
    @codingintelugu8820 6 หลายเดือนก่อน +1

    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

  • @samareshdas767
    @samareshdas767 5 หลายเดือนก่อน

    Such an in depth explanation. Thanks.😊

  • @sadik_farhan_
    @sadik_farhan_ 8 หลายเดือนก่อน

    It was truly amazing !
    Love to see more this type of content

  • @akashddeepchitransh4537
    @akashddeepchitransh4537 7 หลายเดือนก่อน

    Really amazed at the way you teach 💯 just teaching like a wow...

  • @irshitmukherjee7943
    @irshitmukherjee7943 7 หลายเดือนก่อน

    Your explanations are the best so far......

  • @abukhalidrifat3994
    @abukhalidrifat3994 6 หลายเดือนก่อน

    My goodness! What an explanation!!! Thank you so much bro. Take ❤

  • @shaamidrees6036
    @shaamidrees6036 4 หลายเดือนก่อน

    Bro you explained in very easy way
    Great teaching style

  • @amjadawan4150
    @amjadawan4150 5 หลายเดือนก่อน

    finally i understood what is client component and what is server component, Thanks dost

  • @AbdulHanan-dx3cr
    @AbdulHanan-dx3cr 6 หลายเดือนก่อน

    Great Stuff, keep making videos. Love your videos

  • @codeforlifehere
    @codeforlifehere 7 หลายเดือนก่อน

    To be honest, you explained it so well, just please add that slides to the description it will be of great help

  • @mrityunjaysinha
    @mrityunjaysinha 7 หลายเดือนก่อน

    Your contents are amazing Piyush!!

  • @anmoldotx
    @anmoldotx 8 หลายเดือนก่อน +1

    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😄😄🤓

  • @learner5839
    @learner5839 7 หลายเดือนก่อน

    Sir the way you explain us is too good. Looks like listening to a story.❤❤

  • @AnilKumar-vp1pm
    @AnilKumar-vp1pm 3 หลายเดือนก่อน

    Amazing work and explanation!!

  • @gopalbharadva1390
    @gopalbharadva1390 2 หลายเดือนก่อน

    Bro, what an explanation, 1 number.

  • @omprakashchauhan970
    @omprakashchauhan970 4 หลายเดือนก่อน

    In Depth Explanation Bro ❤
    Keep it Up 😊

  • @joshikroshan5584
    @joshikroshan5584 4 หลายเดือนก่อน

    One of the best explanations ever👏👏👏

  • @mayanktamrkar308
    @mayanktamrkar308 8 หลายเดือนก่อน

    Amazing, you explained in very easy way , ❤❤❤❤

  • @entrepreneurcoder2659
    @entrepreneurcoder2659 8 หลายเดือนก่อน

    i liked the explanation.
    thanks for it
    keep bringing such informational videos

  • @sanketgawande3667
    @sanketgawande3667 7 หลายเดือนก่อน

    Nicely explained, thanks 🎉

  • @subhadeepbanerjee7361
    @subhadeepbanerjee7361 8 หลายเดือนก่อน

    Informative video thanks piyush vaiya❤

  • @MathsWithSatyamPandey
    @MathsWithSatyamPandey 8 หลายเดือนก่อน

    Amazing series sir❤ please continue 🙏🙏

  • @MdAbdullah-cs7xh
    @MdAbdullah-cs7xh 7 หลายเดือนก่อน

    Amazing tutorial. Thanks dude.

  • @husnainizharkhan
    @husnainizharkhan 7 หลายเดือนก่อน

    It's completely worth it to subscribe to your channel.

  • @dewanmohammademon
    @dewanmohammademon 6 หลายเดือนก่อน

    It was truly amazing !

  • @snehasish-bhuin
    @snehasish-bhuin 7 หลายเดือนก่อน

    Amazing explained, next topic server Action :)

  • @moyezrabbani637
    @moyezrabbani637 8 หลายเดือนก่อน

    Amazing Explanation Piyush Sir.

  • @AryanSharma-dc4bj
    @AryanSharma-dc4bj 6 หลายเดือนก่อน

    beautiful explanation piyush

  • @FaizSultan430
    @FaizSultan430 7 หลายเดือนก่อน

    Great explanation Piyush thanks ❤ quality content

  • @thrifterspoint1002
    @thrifterspoint1002 3 หลายเดือนก่อน

    V nicely explained server side rendering

  • @dfshoikot5904
    @dfshoikot5904 6 หลายเดือนก่อน

    Superb Explanation

  • @iamayushdas
    @iamayushdas 6 หลายเดือนก่อน

    Amazing Explanation brother ❤

  • @sriman45
    @sriman45 4 หลายเดือนก่อน

    Love you bro❤❤❤ Thanks for this video.

  • @rakibulhasan992
    @rakibulhasan992 6 หลายเดือนก่อน

    Thank you so much for your valuable video

  • @pratikbade9634
    @pratikbade9634 5 หลายเดือนก่อน

    Thanks for this one ❤

  • @10zDelek
    @10zDelek 7 หลายเดือนก่อน

    the last point was important thanks for sharing

  • @asadanik5987
    @asadanik5987 7 หลายเดือนก่อน

    That is an awesome video...take love from Bangladesh

  • @codingtodev
    @codingtodev 7 หลายเดือนก่อน

    cristal clear information thanks great content

  • @hustler2693
    @hustler2693 2 หลายเดือนก่อน

    Excellent piyush.. ❤

  • @digitalizhar
    @digitalizhar 7 หลายเดือนก่อน +1

    Great video sir

  • @awesomeshivamshorts
    @awesomeshivamshorts 4 หลายเดือนก่อน

    Nice nice nice.....I love your teaching skill.

  • @heartlessgammer7535
    @heartlessgammer7535 3 หลายเดือนก่อน

    Kafi sahi tha ❤❤❤❤❤

  • @mmmm-pd1qx
    @mmmm-pd1qx 7 หลายเดือนก่อน

    Great Explanation.

  • @devprajapati5673
    @devprajapati5673 หลายเดือนก่อน

    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🙂

  • @parthghatge2423
    @parthghatge2423 8 หลายเดือนก่อน

    Respect Man, You are too good !!!

  • @shahbazkhalid6950
    @shahbazkhalid6950 7 หลายเดือนก่อน

    Awesome explanation.

  • @ashokkumawat88
    @ashokkumawat88 7 หลายเดือนก่อน

    Awesome!!✌

  • @gujaratinimoj3845
    @gujaratinimoj3845 8 หลายเดือนก่อน

    Good topic sir.. very helpful this..

  • @devisinghlodhi9757
    @devisinghlodhi9757 7 หลายเดือนก่อน

    Awesome explanation ever, ❤❤❤

  • @saiots8651
    @saiots8651 4 หลายเดือนก่อน

    extraordinary explanation Greate brother.

  • @alihassan4726
    @alihassan4726 5 หลายเดือนก่อน

    Excelent Explaination

  • @talibhusain3335
    @talibhusain3335 หลายเดือนก่อน

    Really really Amazing video🎉

  • @saurabhu6458
    @saurabhu6458 4 หลายเดือนก่อน

    Thanks man !

  • @Dibyendu_das_96
    @Dibyendu_das_96 8 หลายเดือนก่อน

    Great explanation❤

  • @user-zb6ez3el2d
    @user-zb6ez3el2d 7 หลายเดือนก่อน

    Bro ! Loving your contents . It's my humble request to you to make a course on prisma with graphQL.

  • @vipultejyan1575
    @vipultejyan1575 5 หลายเดือนก่อน

    Great explanation

  • @nirajbhanushali7693
    @nirajbhanushali7693 8 หลายเดือนก่อน

    Awesome teaching

  • @RishiRajxtrim
    @RishiRajxtrim 8 หลายเดือนก่อน

    Gratitude!!🙂🙏💯

  • @rohitprajapatirohu6195
    @rohitprajapatirohu6195 8 หลายเดือนก่อน

    Bhaiya your are 🔥

  • @nirbhayvora3497
    @nirbhayvora3497 7 หลายเดือนก่อน

    very informative video

  • @afrazali4141
    @afrazali4141 8 หลายเดือนก่อน

    All doubt's clear thanks a lot bro love from pakistan

  • @amitdubey2209
    @amitdubey2209 7 หลายเดือนก่อน

    best till now!!

  • @iamabhhilashdk
    @iamabhhilashdk 6 หลายเดือนก่อน

    Great Video :)

  • @rajneeshmishra6969
    @rajneeshmishra6969 4 หลายเดือนก่อน

    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

  • @Shiv_the_human_code
    @Shiv_the_human_code 7 หลายเดือนก่อน

    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

  • @oneloop6902
    @oneloop6902 8 หลายเดือนก่อน

    too good!!!

  • @subhamnegi6353
    @subhamnegi6353 7 หลายเดือนก่อน

    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

  • @prakharsinha4145
    @prakharsinha4145 5 หลายเดือนก่อน

    hey piyush do share your exacli draw content in the description, it would save lots of our time

  • @vaibhavwadhavane874
    @vaibhavwadhavane874 7 หลายเดือนก่อน +1

    please make a full nextjs course with one full stack project

  • @saiots8651
    @saiots8651 4 หลายเดือนก่อน

    I am waiting for the next js course with typescript and redux toolkit query from piyush bhai.

  • @b5fw6jg7
    @b5fw6jg7 8 หลายเดือนก่อน +1

    Please explain inline "use server" and server actions as well.

  • @delwerhossain7979
    @delwerhossain7979 8 หลายเดือนก่อน

    ❤❤

  • @_rhythmsaha
    @_rhythmsaha 8 หลายเดือนก่อน +2

    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

    • @shubhankartrivedi
      @shubhankartrivedi 7 หลายเดือนก่อน

      Yes it is mostly used for static pages like Blogs/Articles.

    • @shoaib3103
      @shoaib3103 7 หลายเดือนก่อน

      The thing is you cannot control the user's machine but you have the option to control a strong machine server

  • @copilotcoder
    @copilotcoder 7 หลายเดือนก่อน +1

    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

  • @charuwaka1
    @charuwaka1 4 หลายเดือนก่อน

    Client Components have access to browser APIs, like geolocation or localStorage, allowing you to build UI for specific use cases.

  • @sheikhfajlayrabbi6070
    @sheikhfajlayrabbi6070 8 หลายเดือนก่อน

    great video ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @as_if
    @as_if 4 หลายเดือนก่อน

    Wow

  • @akshaysingh5535
    @akshaysingh5535 7 หลายเดือนก่อน +3

    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 👍 👏

    • @kaustubsingh7981
      @kaustubsingh7981 7 หลายเดือนก่อน

      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 :)

    • @hrushi_borhade
      @hrushi_borhade 6 หลายเดือนก่อน

      we can stream the data and hence the component, using suspense boundary and fallback loading component

  • @user-hk6jp8ol9l
    @user-hk6jp8ol9l 8 หลายเดือนก่อน

    nice

  • @aditimahabole1761
    @aditimahabole1761 5 หลายเดือนก่อน

    you aree the besttttttttt wowwwwwww

  • @harkeshyadav2959
    @harkeshyadav2959 7 หลายเดือนก่อน +1

    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?

    • @asifurrahman5436
      @asifurrahman5436 6 หลายเดือนก่อน

      it will receive as json like data

  • @Yasinafridi
    @Yasinafridi 7 หลายเดือนก่อน

    Please make a playlist on CI/CD pipeline

  • @yogesh-gupta
    @yogesh-gupta 3 หลายเดือนก่อน

    the Video ❤

  • @phantomcatprojects8546
    @phantomcatprojects8546 8 หลายเดือนก่อน

    Will the context provider make everthing underneath a client side rendered components