React Server Components (with Next.js Demo)

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 33

  • @oliverloops.
    @oliverloops. 4 года назад +19

    Good job simplifying the whole explanation 🙌, this new experimental feature it's really exciting!

  • @LauraBeatris
    @LauraBeatris 4 года назад +8

    Best way to finish this year: Watching this amazing video
    Thanks Lee ❤️

  • @HarryManchanda
    @HarryManchanda 4 года назад +1

    That's my note at 08:36 ... "Awesome Work" ... I was the one testing it 😁
    Happy New year

  • @PeterKellner99
    @PeterKellner99 3 года назад +1

    Well done! I'm looking forward to concurrent mode when it eventually (hopefully) gets released.

  • @agustinmaggi191
    @agustinmaggi191 4 года назад +4

    This reminds me of the functionality of laravel called Render Sections for rendering one section of a template using Ajax, a long time ago.

  • @giuliofagioli
    @giuliofagioli 4 года назад +1

    Awesome video Lee!

  • @vs599318026
    @vs599318026 4 года назад +1

    Awesome content! Keep up the good work :)

  • @surabhisugandh
    @surabhisugandh 3 года назад

    Thanks for sharing! Very informative and to-the-point :)

  • @JohnArcher888
    @JohnArcher888 3 года назад +1

    Having worked with SSR I might assume that shipping all components in client bunle might be cheaper traffic-wise but more expensive on the first load. Honestly, with aggressive bundle splitting and lazy loading you don't have to have a huge budle you serve the clients on the first load. The chunks of routes and lower viewport components load lazily as soon as the whole page is scaffolded and there's data reusability there. Everything you serve from the server as raw html stream or jsx converted to what he showed here - don't forget there's a network penalty for that! Dan in his speech mentioned 23% bundle reduction, well, you'll download even more jumping from page to page eventually. Or not. Especially if you use a lot of hybrid components without client/server extension prefix - you'll pay twice for those. Faster initial pageloads (css sent from server?) and security concerns - probably yes. But I assume I'tll take a Next.js and such to set it up properly, rather than a freelance solo or a team of React middle devs struggling with putting all the pieces together correctly in the reality of current dev-community

  • @bushi4404
    @bushi4404 4 года назад

    Great explanation!

  • @CarlosEnriqueDev
    @CarlosEnriqueDev 3 года назад

    Hi Lee, good video. could you helpme about doubt? i am doing some tests with nextjs an i have a doubt. I receive a post request with data json that from an external service when I upload some files. I listen the post request that they send me to my endpoint api within NextJs and I can see the data. But I can't pass this data to the client side, to change a state. How would you do it. Thanks for the help.

  • @ThomazMartinez
    @ThomazMartinez 4 года назад +2

    Double check on what framerate your camera is set and shutter speed. try setting fps to 24 and shutter speed to 1/50

    • @leerob
      @leerob  4 года назад

      Yup, the flicker was driving me nuts on this, but I didn't want to re-record 😭
      Gonna make sure this is fixed in the next one.

    • @ThomazMartinez
      @ThomazMartinez 4 года назад

      @@leerob it's also not for the flickering but for motion also, when you moved your hands noticed some jitters so could be that shutter speed did not match fps like 24 = 1/50

  • @iamdeveloper2580
    @iamdeveloper2580 4 года назад

    so when this feature will be applied with no risks?

    • @leerob
      @leerob  4 года назад

      No specific date yet, still experimental!

  • @ApoorvMote
    @ApoorvMote 4 года назад +2

    Great video!! I have been seeing people saying DONT render private routes with SSR. Only render public routes with SSR. Is it true? Of course on private routes you don't care about SEO. But I do care about faster performance. Because you did render private todos from server components.

    • @leerob
      @leerob  4 года назад +1

      You can render private routes with SSR. Agreed that SEO doesn't matter if it's private, but the performance improvements are sometimes worth it.

    • @ApoorvMote
      @ApoorvMote 4 года назад

      @@leerob Thanks Lee for clearing up huge doubt.

  • @arcosd63
    @arcosd63 2 года назад

    Hey Lee, I'm enjoying your videos, you're very thorough and well explained. Do you have current material because I just getting your videos from 2 years ago.. Thanks!

    • @leerob
      @leerob  2 года назад

      Hey there! Yeah, there's been some big updates in the world of server components since this first video.
      nextjs.org/13

  • @rangabharath4253
    @rangabharath4253 3 года назад

    Awesome 👍

  • @nirvanzentinal
    @nirvanzentinal 4 года назад

    Excellent 💗

  • @FergusMeiklejohn
    @FergusMeiklejohn 4 года назад

    So cool.. when we likely to get this in Nextjs?

    • @leerob
      @leerob  4 года назад

      No specific date yet, still experimental!

  • @chipdarip45
    @chipdarip45 4 года назад

    noob here. does this mean React will be able to replicate everything I can do with Django?

    • @leerob
      @leerob  4 года назад

      A better comparison with Django would be Next.js. Check it out -> nextjs.org/

    • @chipdarip45
      @chipdarip45 4 года назад

      @@leerob i mean does SSR really replace everything django has to offer? especially the model layer? can you build for example a youtube or twitter clone with Next? Optimally?

    • @leerob
      @leerob  4 года назад +1

      @@chipdarip45 Next.js !== SSR. You can do SSR with Next.js, but it's an entire framework for building React applications.
      Yes, you can build a RUclips or Twitter clone. tiktok.com is built with Next.js.

  • @blizzy78
    @blizzy78 3 года назад

    Just a minor nitpick, it's "et cetera," not "exetera."

  • @surazsunny4203
    @surazsunny4203 2 года назад

    bruh! next time try to use code images or slides like ....to explain, you are doing everything with more
    camera just on your face