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

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

    Amazing episode! Well done! Defenitely do more of these!

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

    Great explanation. Thanks CJ!

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

    Amazing video, thank you so much 🙏

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

    Wow! great concise explanation

  • @thedelanyo
    @thedelanyo 2 หลายเดือนก่อน +1

    Syntax is great. Loving these topics 😅😅

  • @AleksandarT10
    @AleksandarT10 2 หลายเดือนก่อน +1

    great topic! keep them coming

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

    Love it, and to add to it if i may i think using a blog or profile page (or any dynamic) is clearer than an about page as most of the text in about would be static and most frameworks would i guess ssr it so there would not be a need to 'code split' or lazy load, but a dynamic page would need to execute js. Just putting it out there incase someone thinks its necessary to lazy load text, i know i used to

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

      Yes good point. For statically generated sites, it makes less sense to use dynamic.

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

    Does Next.js app router code splitting by default?

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

      Next has dynamic which allows you to opt in to code splitting: nextjs.org/docs/pages/building-your-application/optimizing/lazy-loading
      They also optimize package imports: vercel.com/blog/how-we-optimized-package-imports-in-next-js
      The next build process also automatically splits your js bundles when possible.