Next JS Deep Dive: Understanding and Implementing Dynamic Routes

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • Welcome to a deep dive into Dynamic Routes in Next.js! This comprehensive tutorial will walk you through the fundamentals and intricate details of dynamic routing in Next.js, providing you with the skills to build highly scalable and flexible web applications. We cover generateStaticPaths, catch all routes, and much more.

КОМЕНТАРІ • 41

  • @madilinkenmeyer
    @madilinkenmeyer 10 місяців тому +4

    I'm in a bootcamp and working on my final project. You saved me. THANK YOU. Maybe I won't have to code all weekend now.

    • @coderyan
      @coderyan  10 місяців тому

      Happy to help!

  • @mdsonualam8408
    @mdsonualam8408 27 днів тому

    Been struggling with this, this is of great help 🚀🚀

  • @zoki5388
    @zoki5388 Рік тому +5

    Hey Ryan could you add timestamps, it helps a lot to jump straight certain topics.

  • @njorogekamau3820
    @njorogekamau3820 Місяць тому

    Thanks. You came through at the right moment.

    • @coderyan
      @coderyan  Місяць тому

      Happy to hear it!

  • @toko385
    @toko385 5 місяців тому +2

    seems like I found hidden gem 🔥

  • @neilbenjamin124
    @neilbenjamin124 10 місяців тому +1

    Lovely stuff mate. Super useful thank you.

    • @coderyan
      @coderyan  10 місяців тому +1

      You're welcome, happy it helped

  • @AlloMission
    @AlloMission 6 місяців тому +1

    Great video, super clear. Thanks

    • @coderyan
      @coderyan  6 місяців тому

      You’re welcome

  • @techug2719
    @techug2719 Місяць тому

    I love you man!

  • @AnisKhan-pq1iq
    @AnisKhan-pq1iq 11 місяців тому +1

    I am facing an issue where res data is displayed correctly in the console and Postman, but when I make a request, it shows 'id' as undefined in both the console and Postman. My folders api/users/[id] route.js

    • @byte-master
      @byte-master 7 місяців тому

      You must be consuming the api request incorrectly on your api thats the reason it throws undefined

  • @Premji_likes_sanity
    @Premji_likes_sanity 6 місяців тому +1

    amazing , Thank you ! 👌👌

    • @coderyan
      @coderyan  6 місяців тому

      You’re welcome!

  • @Deevicode
    @Deevicode 2 місяці тому

    What a great video

  • @haikelareff
    @haikelareff 7 місяців тому

    how do we set different theme to each multiple (dynamic) pages ex: category pages, or maybe random themes for each blogpost?

  • @xMrEleven
    @xMrEleven 7 місяців тому

    hey man i using this in my project when i am moved to server when i refresh the dynamic page it is take me to the home page every time but the url is still there i am not facing any issue with static pages btw i am not facing any isssue in my local too

  • @RT-yg6ec
    @RT-yg6ec 9 місяців тому

    another great video, thanks helping us ryan!
    agree with the other guy Link would've been more appropriate in this instance! But video is still Overall amazing.
    would be really nice to see how to do nested dynamic routes via API calls
    havent seen anyone do that yet, been trying to figure that out

    • @coderyan
      @coderyan  9 місяців тому

      Thank you for the feedback and kind words -- I'll definitely add that to my list of video ideas

  • @Em-Aar
    @Em-Aar 10 місяців тому

    21:24 Rather than making client component to useRouter, can't we add simply Link component in products function?

    • @coderyan
      @coderyan  10 місяців тому +1

      Absolutely!

  • @DivyanshArya-bc2dx
    @DivyanshArya-bc2dx 3 місяці тому

    Thanks 😀

    • @coderyan
      @coderyan  3 місяці тому

      You’re welcome

  • @mustafaerkoc9393
    @mustafaerkoc9393 8 місяців тому +1

    Thank u soooo much!

    • @coderyan
      @coderyan  8 місяців тому +1

      You’re welcome!

  • @LibraryOfTheOligarchs
    @LibraryOfTheOligarchs 8 місяців тому

    This was surely helpful!

  • @MohitSingh-lj4dc
    @MohitSingh-lj4dc 6 місяців тому +1

    Nice explain

  • @resulterror2381
    @resulterror2381 Рік тому +1

    thank you ryan

  • @adelmae9037
    @adelmae9037 11 місяців тому +1

    thanks man

    • @coderyan
      @coderyan  11 місяців тому

      You’re welcome