Pages Router vs App Router in Next.js - Key Differences

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Starting from version 13.4, Next.js moved to a new way of routing, based off of the app directory. This videos discusses the key things to keep in mind when transitioning.
    0:00 Intro
    0:48 Pages still supported
    1:46 Folder-based Routing
    3:23 _app & _document gone
    4:28 Data Fetching
    5:37 Static Site Generation (SSG)
    6:07 SEO
    6:57 API Routes
    8:02 Revalidation & Caching
    9:11 Server Components
    Website: www.coralnodes.com
    ---------------------------------------
    Server providers:
    Linode: www.coralnodes.com/go/linode/
    DigitalOcean: www.coralnodes.com/go/digital...
    -------------------------------------------------------------
    Disclaimer:
    This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
    Disclosure:
    This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links.
  • НаукаНаука

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

  • @DannyCare91
    @DannyCare91 5 месяцев назад +3

    Out of all of the videos I've watched on these changes, yours made the most sense to me. Clear, straight to the point and descriptive with examples. Thank you!

  • @developerap6033
    @developerap6033 Месяц назад

    Very good explanation easy and short. All major part covered Thank you!

  • @goodnewsjohn2482
    @goodnewsjohn2482 Месяц назад

    if i pass this test i am coming back with my testimony... nice tutorials. I watched more than two times. Thanks

  • @rezaastaraky8376
    @rezaastaraky8376 9 дней назад

    Excellent thanks

  • @AlanDanielx
    @AlanDanielx 3 месяца назад

    Very well explained. Congrats for a great video

  • @MoBedwi
    @MoBedwi 4 месяца назад

    Well explained. Thanks

  • @taiyc3
    @taiyc3 4 месяца назад

    awesome! THANK YOU!

  • @zu_n_i
    @zu_n_i 5 месяцев назад

    すごいわかりやすい...

  • @SaroopJack
    @SaroopJack 8 месяцев назад +1

    nice explanation...

  • @devgauravjatt
    @devgauravjatt 7 месяцев назад +1

    ❤❤❤ nice explanation... 3:47

  • @magne6049
    @magne6049 5 месяцев назад +1

    7:15 "Make sure to name the API route files as `route.js`. That's how they differ from other `page.js` routes" ... Next.js API design in a nutshell. Why didn't they call API routes 'api_route.js' or 'http_requests.js' so you can actually differ API routes from other routes? Now people will wonder if 'route.js' will override the filesystem routing or whatnot..

  • @imkir4n
    @imkir4n 5 месяцев назад

    Bro are you a mallu?