Next.js 13 Crash Course | App Directory, React Server Components & More

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

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

  • @qcmira2024
    @qcmira2024 Год назад +132

    As always, Brad reads my mind and creates the tutorial I was secretly hoping for. Kudos man ! And thank you !

    • @yvsh
      @yvsh Год назад

      Same!!

    • @pandalanhukuk804
      @pandalanhukuk804 Год назад

      Read the documentation and make the same.

    • @badbeatslayer
      @badbeatslayer Год назад

      me too

    • @brentforwood4085
      @brentforwood4085 Год назад

      Same here. I decided to get back into React, realized CRA was on its way out, decided to look into Next,js, go to RUclips and look it up to see what was out there, Traversy Media crash course posted 22 hours ago (from time of this post). It's uncanny.

    • @jasonjin251
      @jasonjin251 Год назад

      My hero bro Brad !

  • @lewissheridan
    @lewissheridan 2 месяца назад

    I just want to pause and let you know that you’re an inspiration. Your method of teaching has an authenticity that is unmatched. A humility that is admirable. Thank you for doing what you’re doing and I wish you every success. I’m in awe and admiration. You totally rock

  • @derickshalo384
    @derickshalo384 17 дней назад

    Bro, you are an inspiration. Far far far superior than the other charlatans who are making tutorials just for, and only for money. God bless you!

  • @H3li0s_kun
    @H3li0s_kun Год назад +3

    You've taught me so much I haven't needed to watch your videos in a while. But since Next 13 came out, I feel I haven't been using it correctly. Of course, you're here to save my a** once again.
    I really appreciate what you do. Thanks so much!

  • @bhaskarchetty5419
    @bhaskarchetty5419 Год назад +2

    I have been working with Nextjs for over a year. When I got to know about the latest version 13 update. I had to learn about this new version immediately, but was so bored to go over the documentation again. I just came to youtube a searched for a crash course and guess what Brad has already posted entire video for the new version! Thank you so much Brad.

  • @larrytron1992
    @larrytron1992 Год назад +8

    Perfect timing Brad! I'm currently working on a Next JS app for someone and needed a tutorial to get it up and running

  • @temptemp7577
    @temptemp7577 Год назад +2

    It is the best introduction of Next 13 on all over the Internet. Love you 3000😄💐

  • @hasgotech380
    @hasgotech380 Год назад

    Not everyone who teaches on RUclips provides source code, at times there is a required Cup of coffee as a price. But Traversy is generous and this is worth gratitude.

  • @sahaneakanayaka3394
    @sahaneakanayaka3394 Год назад +23

    As usual everything is clear and simple to understand. Brad what an instructor you are.... 😍🥰🙏

  • @korosensei1379
    @korosensei1379 Год назад +48

    It’s time to get back on coding

  • @codecontinue
    @codecontinue Год назад +4

    I am not even half way through but this is the best introduction to NextJs 13 I have found so far in youtube.

  • @SatoshiNakamono
    @SatoshiNakamono Год назад +1

    I have been waiting for this course from Traversy Media.

  • @unhandledexception1948
    @unhandledexception1948 Год назад

    Brad's crash course series provide the best value of time spent since they are usually short enough to finish :-)

  • @metasavagex
    @metasavagex Год назад

    Crazy to think I was watching brad back in early 2019… now he has 2 millions subs, well deserved brother!

  • @derrickakomeah
    @derrickakomeah Год назад +7

    You never ever disappoint Brad keep doing what you are doing

  • @dawnkellydottech
    @dawnkellydottech Год назад

    Thank you so much, Brad! I was barely getting the hang of Next and then it all changed and I was lost all over again. This video cleared up a lot of issues. Thank you, thank you!

  • @enmanuelr7
    @enmanuelr7 Год назад

    The "What’s going on guys" is music to my ears. I don't know you but I really appreciate you Brad ❤ Blessings

  • @BilalAmin-v5z
    @BilalAmin-v5z 10 месяцев назад

    That Toh toh toh never goes off! love your content since 2017

  • @bohaning
    @bohaning 11 месяцев назад

    🎯Course outline for quick navigation:
    [00:00-02:23]1. Next.js v13 features
    -[00:00-00:31]Next.js version 13 features include app directory, react server components, layout, and new api route handlers.
    -[00:35-01:05]Next.js version 13 features for those familiar with next.js, covering layouts, app directory, and data fetching, to be demonstrated through a project.
    -[01:19-01:48]Tutorial on setting up layouts, routes, and fetching data from github api with automatic loader feature.
    [02:23-21:57]2. Next.js project setup and features
    -[02:23-02:55]Creating a project using create next app and npx create-next-app.
    -[03:17-04:10]Configuring project settings, using experimental app directory, and running dev server.
    -[04:57-05:21]Config file has experimental object with appdir set to true for new app directory structure.
    -[06:34-07:00]Replacing global css with final project's, dark gray background. importing poppins font.
    -[07:22-07:48]Creating a folder in the pages directory to load components in next13.
    -[10:59-11:28]Next 13 uses layout.js in the app directory to wrap components, simplifying previous layout creation process.
    -[13:38-14:09]Metadata updated with page title 'traversey media' and description 'web development tutorials and courses.'
    -[20:29-21:31]Creating links, importing header, discussing react server components.
    [21:58-28:08]3. React server components and github repos route
    -[21:58-23:07]React server components offer faster loading, smaller client bundle, seo benefits, improved security, limited interactivity.
    -[24:14-24:38]Fetching data from server component is simple and avoids use effect dependencies.
    -[25:10-26:04]Using github api, fetching user's repositories to be displayed in the ui.
    -[27:51-28:17]Discusses avoiding use of client for console log in browser.
    [28:09-33:53]4. Installing react icons and dynamic routing
    -[28:09-29:09]Setting up react icons and importing font awesome icons for stargazer count and code branches.
    -[31:09-32:13]Fetching repositories and displaying stats using react server component, with easy loading page creation.
    [33:54-44:09]5. Implementing dynamic routes and suspense boundaries
    -[34:17-34:42]Creating dynamic routes for specific repo pages using folder brackets
    -[36:12-36:47]Demonstrating destructuring and introducing suspense boundaries for data fetching.
    -[38:01-38:36]Creating an asynchronous function to fetch repo using props and name.
    -[38:48-40:02]Developing and testing repo component, fetching specific repository and adding link to github page.
    [44:10-51:29]6. Implementing directory filtering and data fetching optimization
    -[44:10-44:34]Using 'contents' to filter directories and ensure they are type 'dir'.
    -[45:31-47:17]Implemented suspense boundary to load components efficiently and reduce wait time.
    -[48:06-48:39]Using suspense boundaries for better user experience, caching, and revalidating data.
    -[49:49-50:18]Setting revalidation time to 60 seconds for caching data.
    [51:31-01:05:29]7. Next.js route handling
    -[51:31-51:59]Api route handlers allow custom request handling for routes, simplifying backend structure.
    -[53:53-54:19]Using json file for route handlers, can use orm like prisma for database data fetching.
    -[55:47-56:14]Successful get request to api courses, aiming to display data on the home page.
    -[01:00:27-01:00:56]Demonstrating how to retrieve query parameters for course search.
    [01:05:30-01:22:44]8. Handling post requests in api and client components
    -[01:05:30-01:05:58]Demonstrating obtaining body data for post form in api routing.
    -[01:08:22-01:08:51]Adding new course to memory using npm install to import uuid.
    -[01:12:10-01:12:38]Using useeffect for client components, enabling interactivity with search boxes.
    -[01:18:31-01:19:05]Creating a search button with class search-button and type submit, and defining a handler to prevent default behavior and log the query.
    offered by Coursnap

  • @abhikbanerjee3719
    @abhikbanerjee3719 Год назад

    This is one the best tutorials. Not bloated like the other tutorials.

  • @vadimcoj
    @vadimcoj Год назад +3

    Great! now waiting for NextJS 13 + Strapi course, thanks

  • @holdenreed_music
    @holdenreed_music Год назад +1

    This is a great intro to Next 13. Your teaching style is very clear and to the point. Thank you!

  • @aubreyocallaghan4539
    @aubreyocallaghan4539 Год назад

    Amazing... I was looking for an advanced nextJS course, lo and behold my favourite tutor, Brad, has just created one. Many thanks

  • @skhubs
    @skhubs Год назад +3

    My real coding hero return back, i love code because Brad sir teaching style awesome and simple. Always waiting all subscriber tutorial.🎉 Thanks Brad sir👍

  • @alexavery8182
    @alexavery8182 Год назад

    I honestly wish I could have liked this video twice
    I learned so much from this and the previous Next.js crash course

  • @stillready6405
    @stillready6405 Год назад

    Thank you so much, the video was very helpful to me! I read the official documentation for hours just to not get it to work and you just explained everything I needed to know and more.

  • @nwaguchima2280
    @nwaguchima2280 Год назад

    Still the King of crash courses. No one comes close. Funny how I have been using nextjs13, so I was really looking to see how this will go. I will wished this came out earlier, because I had a lot of struggles before working with next13. Thank you for all you do Brad.

  • @JM-hf9bl
    @JM-hf9bl Год назад

    Pretty cool video and I actually found it easy to follow without any contact with NextJS or having watched Brad's previous tutorial. Thanks!

  • @Salah-YT
    @Salah-YT Год назад +4

    Dear Brad, I can't thank you enough for your Next.js crash course; it's simply the best! Your teaching style is top-notch, and I thoroughly enjoy learning from you. You're undoubtedly the best instructor on Udemy and RUclips. Your expertise is invaluable, and I'm grateful for the knowledge you've shared. Wishing you a fantastic life filled with success and happiness! Keep inspiring learners like me. 🙂

  • @yongdiamond2301
    @yongdiamond2301 Год назад

    I was lost in Next JS like lost in Sahara but after watched and practiced with your Crash Course it's kind of I'm having a way to get back to home.

  • @cesarjaramillo9455
    @cesarjaramillo9455 Год назад +7

    Thank you, Brad! I am working on switching careers and can relate to your story. Using your content and advice to get there.

  • @daydreamical
    @daydreamical Год назад

    This was really really useful. Having just watched your previous crash video about Next, this was just perfect to get up to speed with the new version and understand what is different from the previous one. Thanks a ton for another great video!

  • @Brocollipy
    @Brocollipy Год назад

    Always the best. You make every tech so approachable and don't get bogged down with the language. Thanks a million!

  • @matthiasmatanda4295
    @matthiasmatanda4295 Год назад

    You'll always be the best. This is B.Traversy

  • @Bruno87198
    @Bruno87198 Год назад

    Objective, simple, easy, and always directly to the point. Every video of yours worth to watch. Thanks Brad.

  • @saabirmohamed636
    @saabirmohamed636 Год назад

    Yes!!!! , was waiting for Brads tutorial on Next13. Thanks!

  • @RNMERIA
    @RNMERIA Год назад +1

    thanks Brad, hope you are doing very good on the HEALTH front. dnt forget you have to teach my kids too

  • @bailimohamedali1466
    @bailimohamedali1466 Год назад

    thanks for the recap to bootstart my next js 13 work, amazing as always Traversy

  • @nirmesh44
    @nirmesh44 Год назад

    better than any cloning tutorial because this one cleared all my basic doubt

  • @theMiaow
    @theMiaow Год назад

    Yes yes yes! I've been struggling to understand their docs and finally traversy uploads a tutorial 👍.
    Thank you for your contribution.

  • @gersonmayer
    @gersonmayer Год назад

    I've been reading the docs and your video made the perfect complement to the theory ✨

  • @ChinchillaDave
    @ChinchillaDave Год назад

    Brad, you remain a constant in my professional and personal life. Thank you for dedicating your life to teaching others.

  • @Chidera-su8br
    @Chidera-su8br 2 месяца назад

    Number one web development channel, please do on Auth js

  • @rebazjabar7660
    @rebazjabar7660 Год назад

    over 3 months im waiting for the course like this thanks alot i appreciate

  • @peterfaretra
    @peterfaretra 7 месяцев назад

    Great Tutorial, bud. Really helpful. Next 14 is out when I write this and this is still very relevant

  • @Brilla231
    @Brilla231 Год назад

    Been looking for a good resource for the new update. This gave me everything i need to use Next 13 with my latest project! Thanks!

  • @rico5146
    @rico5146 Год назад +2

    In dynamic segment structure, all segment pages will be handled as SSR(No generateStaticParams function exist), So if you want to change SSR to ISR(Revalidation) then you need to configure something more. First, add generateStaticParams function to the segment page to cache the data and then specify next revalidation option in fetch function. You can check this by typing npm run build and npm run start.

  • @mrahamed5985
    @mrahamed5985 Год назад

    Your content is always amazing. A simple video made my concept clear. Thanks for your contribution. I highly appreciate you.

  • @kiennguyen-sy2hn
    @kiennguyen-sy2hn Год назад

    Your crash course is very useful and it helps me a lot. Your lesson is simple, clear and easy to understand. Thank you, wish you all the best. Hope to see your new videos.

  • @AkashPandya9
    @AkashPandya9 Год назад

    legen... wait for it... DARY! LEGENDARY... 🙌🏼

  • @Dragonten312
    @Dragonten312 Год назад

    lmao was just looking for Nextjs stuff to learn more about SSG and the GOAT dev RUclipsr just launched a video!

  • @rayromanov
    @rayromanov Год назад +2

    Stellar work and performance as always, Brad! This is very helpful, so thank you.

  • @raqibnur
    @raqibnur Год назад

    Next 13 is super clear right now, Thank you Brad

  • @sarkazein7
    @sarkazein7 Год назад

    highly simplified and clear approach to teach, thanks

  • @raptordev2235
    @raptordev2235 Год назад

    I love Brad's Crash Courses 😍

  • @awabomer
    @awabomer Год назад

    Brad and mosh are truly the best teachers ❤️

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

    all worked, start to finish. great course.

  • @NicklasHolmqvist
    @NicklasHolmqvist Год назад

    Very basic and simple tutorial of NextJS 13. Thx alot Brad! :)

  • @uiuxengineer
    @uiuxengineer Год назад +2

    Thanks for the video, Brad! Right at time to refresh knowledge 😀

  • @RostyslavDzhohola
    @RostyslavDzhohola Год назад

    Great stuff, keep more coming for the new next.js

  • @arikert3243
    @arikert3243 Год назад

    Thanks for all the incredible tutorial. you are my favorite mentor. i have learn so much from your tutorials and courses. well done Brad!!

  • @mosiurrahman309
    @mosiurrahman309 Год назад

    Yahoooo!!! Got it. Just waiting for this kind of crash course.. Thanks Sir 😍😍😍😍😍

  • @okiroroobrutheanagho8779
    @okiroroobrutheanagho8779 Год назад

    I've been waiting for you to come up with something

  • @fahadjawad5235
    @fahadjawad5235 Год назад

    the exact and an amazing which i was looking for hours . Thank you soo much for such a great video😍😍😍

  • @baruchokoye6037
    @baruchokoye6037 Год назад

    Thank you for this crash course. This came at the right time for me.

  • @anthonychemaly2662
    @anthonychemaly2662 Год назад

    This is exactly what I need. Thanks Brad!

  • @proMehediBD
    @proMehediBD Год назад

    I was waiting for this video! Thank you

  • @smilefriend7171
    @smilefriend7171 Год назад

    So cool. Everything is clearer now,

  • @MnatsakanMatSharafyan
    @MnatsakanMatSharafyan Год назад +1

    This is really great crash course. The only challenge is the length of the video. It is almost 1.5 hour, however, I have watched it with INTED chrome extension and complete in 50 minutes. Thanks for this!

  • @heguer87
    @heguer87 Год назад

    Plain and simple, thanks a lot Brad, great work!

  • @hawarhekmat1174
    @hawarhekmat1174 Год назад

    This is what I have been waiting for ❤

  • @anshulanand02
    @anshulanand02 Год назад +4

    Exactly what i wanted ❤️

  • @xyz-ey7ul
    @xyz-ey7ul Год назад +1

    I wasn't really into using any react framework but this version of next is just too good. I don't even feel like I am using a react framework. it still feels like react alone but with everything I need out of the box.

  • @kenthefley2226
    @kenthefley2226 Год назад +2

    One of your best tutorials, Brad. Thank you. I was kinda hoping you would talk about the generateStaticParams function. Is there any need for that in this project? I am still struggling to understand what that is used for.

  • @eriscrypt
    @eriscrypt Год назад +2

    As always, great video! I've been watching Brad from the very beginning and I'm glad that the content is always excellent!
    Brad, can you share the settings of your VS Code? Font, theme, text size when you work (not for youtube videos)?

  • @yemanealem9573
    @yemanealem9573 Год назад

    Everything is clear. Thank you man!

  • @ayoubahabchane
    @ayoubahabchane Год назад +1

    Hello Brad 👋🏼
    I hiccuped at the suspense part of the crash course.
    Unless I mark the whole page as a client component, adding suspense boundaries doesn't seem to have any effect; the page still won't render until everything is ready.
    I cloned the project just to make sure that this behavior isn't caused by some tweak of mine, and the issues persisted.
    Thank your for making this ♥

  • @thebugcoder3391
    @thebugcoder3391 Год назад +1

    Playwright course 🔥🔥

  • @breezycodes
    @breezycodes Год назад +2

    As a NuxtJS pro.. I'm gonna start learning next here.. I heard the v13 is a totally different framework.. I will be watching this later Brad.. thanks in advance

  • @TheCodeDealer
    @TheCodeDealer Год назад

    This is really nice and easy to understand tutorial. Thanks Brad :))

  • @TerryMitchell
    @TerryMitchell Год назад

    Many thanks, Brad! Definitely cleared up a few doubts!

  • @karsongrady
    @karsongrady Год назад

    Just in time 🙏. Thanks Brad

  • @RobertDylina
    @RobertDylina Год назад

    I've been waiting for you to do this exact tutorial! Seems like they're only a few months away from stable.

  • @nyxandtyr
    @nyxandtyr Год назад

    Thanks for this! Very easy to understand.

  • @aadinoyis
    @aadinoyis Год назад

    Being anticipating for this.

  • @ShefainSarkarMahi-mz6nj
    @ShefainSarkarMahi-mz6nj Год назад

    i was waiting for this kind of videos... Thanks

  • @kaempy
    @kaempy Год назад

    Wow thanks a bunch brad you really helpled me understand certain things better 😊

  • @bingerminn
    @bingerminn Год назад

    Yessssss!!!! Been waiting for this.

  • @chukwukaeze4736
    @chukwukaeze4736 Год назад

    I'll be here no matter what

  • @edutech8909
    @edutech8909 Год назад

    Just the video I needed
    Thanks again Brad!

  • @abbaskareem5281
    @abbaskareem5281 Год назад

    The Goat is back 🔥

  • @odonodave
    @odonodave Год назад

    This is a great crash-course thanks Brad! Way better than the new course on FE Masters.👍

  • @Krawcu_
    @Krawcu_ Год назад +1

    very cool I had a problem with the concept of when to use the server vs client component but I think it got a little bit clearer :^ )

  • @galickidigital
    @galickidigital Год назад

    Best. Brad you are the best. Thank you!

  • @MarkusEicher70
    @MarkusEicher70 Год назад

    Hello Brad. First, let me say thank you for this eye opener. After going through this course, I now am confident to have found my go to tool for my web development projects. As usual, it was a pleasure to follow your explanations. I have a kind of strange, may be dumb question about uuid we used around 1:09:30 in the video. How does this uuid tool make sure, that it doesn't create a collision or let's say a double entry? I know, it is almost impossible that this happens, but my question is if it generally could happen. I just go over to your site and enroll for the "Next.js Dev To Deployment" course. I want learn about the deployment process. Thanks again and I wish you all a great time.

  • @politeboy2996
    @politeboy2996 Год назад

    thank you very very much,
    everybody all the time make tutorial for beginner,
    But this one needed for me.

  • @mauriciotrejos9934
    @mauriciotrejos9934 Год назад

    Great content as always. Thanks Brad!

  • @devbravo4158
    @devbravo4158 Год назад

    Yeesssss. Saving this one for later 😎.
    Thanks, Traversy.

  • @aadamishmael8549
    @aadamishmael8549 Год назад

    Love you Brad. Had to edit this with no H. 😂

  • @abhishekchaudhary8965
    @abhishekchaudhary8965 Год назад

    Great work 🙏This tutorial is a masterpiece.