Next.js Performance & Speed Optimization | Episode #2 | Bundle Analyzer & Dynamic Imports

Sdílet
Vložit
  • čas přidán 28. 06. 2023
  • In this lesson, we go over how to use the Next bundle analyzer as well as how to use dynamic imports for libraries and components.
    Bundle Analyzer: www.npmjs.com/package/@next/b...
    Next Dynamic: nextjs.org/docs/app/building-...
    Code: github.com/benjaminhaig/next-...
    Need a website? Check us out: fabled-web.ca

Komentáře • 22

  • @ahmedfarazdev
    @ahmedfarazdev Před 7 měsíci +10

    I am working on a real-world project. For the past month the client is insisting to increase the speed of the app. Meanwhile the codebase is huge I have recently joined the team with two other guys so your videos are helping me to diagnose the issue of performance.

  • @bilalbutt2617
    @bilalbutt2617 Před 7 měsíci +2

    i was not able to understand how i can reduce :first load js" size but your video clears my doubts. thanks for such informative video

  • @rockNbrain
    @rockNbrain Před 7 měsíci

    Nice job dude 🎉

  • @27sosite73
    @27sosite73 Před 5 měsíci

    ty mate
    well explained

  • @Nothing-cx4jt
    @Nothing-cx4jt Před 11 měsíci +2

    Damn! This is so good.

    • @benhaig
      @benhaig  Před 11 měsíci

      Thank you! Glad it was helpful!

  • @noooOne462
    @noooOne462 Před 9 měsíci +1

    Was stuck with really bad performance thanks buddy

  • @vaibhav.polska
    @vaibhav.polska Před 8 měsíci

    Bro you're great!

  • @enriquepalomino6644
    @enriquepalomino6644 Před 2 měsíci

    Thanks for the video mate. I wonder how nextjs allow you to mix a frontend page ("use client") with an async function. I cannot solve that part.

  • @madkidz8863
    @madkidz8863 Před 2 měsíci

    thank you sirr
    your video save my dumb report

    • @benhaig
      @benhaig  Před měsícem

      Haha glad I could help 😄

  • @noooOne462
    @noooOne462 Před 8 měsíci +1

    How do i add scroll restoration anyone got any idea i tried saving and retrieving from session storage manually

    •  Před 7 měsíci

      There as experimental config option (takes like 2 seconds to bing).. "experimental: { scrollRestoration: true }"

    • @Jogkart
      @Jogkart Před 3 měsíci

      Yesss

  • @Ogooluwanick
    @Ogooluwanick Před 8 měsíci

    sir please create a playlist for these

    • @benhaig
      @benhaig  Před 8 měsíci +1

      Good idea. Thank you!

    • @Ogooluwanick
      @Ogooluwanick Před 8 měsíci

      @@benhaig 100% men, too helpful to not be in one place. big ups💯

  • @user-ty6oz3gv8z
    @user-ty6oz3gv8z Před 4 měsíci

    Qwikjs will solve the issue automatically

  •  Před 7 měsíci +3

    God damn is the tailwind syntax incredibly ugly. Why can't we all just stick to css-in-js or even css modules like sane people?