Next.js 14 Tutorial - 9 - Catch all Segments

Sdílet
Vložit
  • čas přidán 11. 11. 2023
  • 📘 Frontend Interview Course - learn.codevolution.dev/
    💖 Support UPI - support.codevolution.dev/
    💖 Support Paypal - www.paypal.me/Codevolution
    💾 Github - github.com/gopinav
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    Next.js 14
    Next.js Tutorial
    Next.js 14 Tutorial
    Next.js Tutorial for Beginners
    Catch all Segments
    Catch all Segments in Next.js

Komentáře • 48

  • @emma_okeke
    @emma_okeke Před 6 měsíci +23

    You are the best thing that has happened to the internet. Keep it up brother!!!!

  • @Piyush_Kale_02
    @Piyush_Kale_02 Před 3 měsíci +2

    so grateful to have this playlist you made the day and the teaching technique is very good keep going growing in this days this type of quality content is hard to find for free so
    THANK YOU

  • @m_mdi0
    @m_mdi0 Před 6 měsíci +5

    Thanks for your effort this series is amazing, keep it up 👍

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

    Please continue this series. Really you're superb.

  • @wisdomfount
    @wisdomfount Před 5 měsíci

    Thank you so much. It's amazing how you organized the coure.

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

    Awesome bhai. Thanks for this series.

  • @su6012
    @su6012 Před 4 měsíci +2

    Köszönjük!

  • @sahandsepidar4089
    @sahandsepidar4089 Před 7 měsíci +1

    as always ; thanks man

  • @riyad-appscode
    @riyad-appscode Před 7 měsíci

    Great Video 👍

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

    thank so much, for share your know us!

  • @warlockCommitteeMeeting
    @warlockCommitteeMeeting Před 4 měsíci

    Thank you!

  • @Shelby63589
    @Shelby63589 Před 4 měsíci +6

    The last part, instead of optional catch all, cant we just define a page.tsx in the docs directory? Isn't that enough?

  • @bokacoder
    @bokacoder Před 5 měsíci

    amazing bro

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

    done..this is damn good.

  • @me29_hi8
    @me29_hi8 Před 4 měsíci +1

    thanx for the sries

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

    please another detailed video on catch all segments

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

    Thank you very much for your service !

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

    Sir, what are the relations between NextJSProvider to this tutorial? Is it something about routing? And, can you please cover another tutorial about combining with NextUI?
    Great videos btw. Keep it up, sir!

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

    next js is like a bomb

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

    Plz another video on this topic

  • @Maz-kk8gl
    @Maz-kk8gl Před měsícem

    When you want to make the params in the catch-all segment optional with [[...]], should the type of params be changed to { slug?: string[] }? The error you get suggests that when there are no params provided, the variable is undefined rather than an empty array. That would then force the typing you added at the end.

  • @M0nst3rGamingyt
    @M0nst3rGamingyt Před 2 měsíci +1

    @Codevolution I have a question. this routing seems amazing but while developing, we often need to switch between files in VS code and for certain people like me having habit of pressing ctrl + p and open file that way. which actually won't work in this. what could be the solution

  • @Website-Content-Creator
    @Website-Content-Creator Před 4 měsíci

    can you please make any type of example like with product page this catch all routes

  • @eelguneezmemmedov1671
    @eelguneezmemmedov1671 Před 7 měsíci +1

    Sir can u make small project using redux with multilanguage next js Please

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

    How to fetch data from mysql in next 14 plz a detailed video

  • @nafiyashanu8329
    @nafiyashanu8329 Před 21 dnem

    I don't know what happened but whenever I go to the url localhost:3000/docs - it is showing not found error but other urls like localhost:3000/docs /route etc are working fine can anyone help me to resolve this issue.

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

    Which theme do u use?

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

    tell me why we need to change from [..slug] -> [[...slug]] , idk this

  • @nyctophillia2292
    @nyctophillia2292 Před 6 měsíci

    please, what's the shortcut for export with named arrow func with the folder name?

    • @rexy_op1079
      @rexy_op1079 Před 5 měsíci

      Rafce you should have the extension installed for that

    • @nyctophillia2292
      @nyctophillia2292 Před 5 měsíci

      na i figured it out. he created custom vscode snippets @@rexy_op1079 i was talking about the snippet with the classname and so on

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

    i wrote the same code but there are 13 mistakes shown by vs code, please help

  • @user-hv1ru6oj9l
    @user-hv1ru6oj9l Před 3 měsíci

    if(params.slug.length === 2) { Uncaught TypeError: Cannot read properties of undefined (reading 'length') ) i wrote the same code though

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

      Use optional chaining
      if(params.slug?.length==2){
      .......
      }
      Like this

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

    first

  • @adeniyitaofik3832
    @adeniyitaofik3832 Před 6 měsíci +1

    you used [[...slug]] instead of docs/[...slug]
    and you where able to route to /docs
    when there isnt a directory named docs
    please more explanation. thanks

    • @sharpesthawk
      @sharpesthawk Před 6 měsíci

      At 7:39 , the folder structure is the same, just rename [...slug] to [[...slug]]. It worked for me 👍

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

    dear sahab are you fiitng all code inside html, looks like to me. i know nothing in programming thats why asked?sorry if i asked something wrong.

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

    Hi
    The concepts and content seem to be similar to that of the already existing nextjs videos in this channel
    Why are we creating them again?

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

      bec this is next 14 series (lateset version of next) , the previous ones are older version of NextJS.

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

      @@darcyrachel3044 yes I feel instead of doing videos on everything it would have been nice of the videos are made on the new features of this release.. 1st few videos of this series seems to be same as previous ond

    • @armat_dt
      @armat_dt Před 4 měsíci +1

      @@leela2997 I think it's also for people who new to next.js

    • @DushyantJoshi
      @DushyantJoshi Před 4 měsíci

      @@armat_dt Yes this should be the reason

  • @ShootingUtah
    @ShootingUtah Před 3 měsíci +3

    I really dislike how every page has to ve named page.js/tsx it's much more user friendly to have meaningful names IMO even if it's just reviewsPage.jsx in the directory Reviews. Then when searching files I don't have to look at directories only file names.