The Ultimate NEXT.JS 13 Tutorial (Complete Walkthrough w/ Examples)
🚨 Join the world’s BEST developer community “Zero to Full Stack Hero” NOW: www.papareact.com/course
📩 Want coding problems (with solutions!) delivered to your inbox daily? www.papareact.com/dailycoding...
Join me as I guide you through the newly released Next.js 13. We will be diving deeper into the new features of Next.js 13 such as:
👉 How to smoothly transition from Next.js 12 to 13 by replacing getServerSideProps, getStaticProps & getStaticPaths using the new Next.js 13 alternatives! (Including ISR!)
👉 How to implement the new app/ Directory
👉 Explanation of the new Server components and when/how to use them!
👉 Creating a Todo App with the new app/ Directory features
👉 How to create a Client Side Component and When to Use it
👉 How to create Dynamic routes inside /app directory
👉 How we can use async/await in the server component to fetch all the todos!
👉 How to utilise different types of caching & static params examples!
👉 How to implement ISR (Incremental Static Regeneration) with next: revalidate
👉 Showcasing how to use SSR (Server Side Rendering) with a search example
😱 BONUS: I will show you how to use React Suspense Boundaries!
🔴 LOOKING FOR THE CODE? 🛠️
links.papareact.com/github
👇🏻FOLLOW ME HERE:
Instagram: links.papareact.com/instagram
Facebook: links.papareact.com/facebook
LinkedIn: links.papareact.com/linkedin
Twitter: links.papareact.com/twitter
Discord: links.papareact.com/discord
Newsletter: links.papareact.com/newsletter
💰 WANT TO SUPPORT THE CHANNEL?
Donate here: links.papareact.com/donate
Grab some PAPA Merch: links.papareact.com/merch
🕐 TIMESTAMPS:
00:00 Introduction
00:36 Explaining Next.js 13
1:08 Explaining the new app/ Directory
1:36 Initialising the Demo Build
3:13 Converting the Build to Next.js 13
5:01 Building the Homepage
7:01 Building the Header Component
8:38 Explaining the New Route Structures
9:01 Building a Todo App with Server Side Components (1/3)
9:57 Implementing the New Link Component
11:22 Using the New Server Side Components with async/await to Fetch Todos (1/2)
13:17 Building a Todo App with with Server Side Components (2/3)
15:20 Creating a Dynamic Route inside the New app/ Directory
17:10 Using the New Server Side Components with async/await to Fetch Todos (2/2)
19:08 Explaining How to Add Rendering Techniques (SSR, SSG, ISR)
19:58 Implementing ISR with next: revalidate
20:50 Implementing the New generateStaticParams() Function
24:18 Todo App Demo with SSG
28:33 Building out an Error Message
29:39 Building the Todo App (3/3)
31:40 Implementing SSR with a Search Example
34:15 Explaining & Creating a Client Side Component
38:10 Displaying the Search Results in the Todo App
42:06 Implementing the New Loading State Functionality
43:36 Implementing the New Error State Functionality
45:27 Making the Head Name Dynamic
47:11 Explaining and Adding Group Routes
52:01 Implementing React Suspense Boundaries
5:38 Next.js 13 Summary
56:18 Outro
Let’s get it PAPA fam🔥.
#nextjs #nextjs13 #vercel
Пікірлер: 305
📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university
@wintersijan
Жыл бұрын
it would be really helpful if you make video on new middleware api
@cloudsystem3740
Жыл бұрын
i really don't know why is the reading map as property 41:06 I got that issue Property 'map' does not exist on type '{ position: number; title: string; link: string; thumbnail: string; snippet: string; }'.ts(2339) could you please guide me why? because I don't know a lot of typescript and currently I hate it :)
@freespeech515
Жыл бұрын
NEXTJS 13 is trash .When ever i use MUI it ask for USE CLIENT. it makes it downlaod all mui javascript. Whole point of react become useless. Server side rendering work because of caching . now if you render it all in client ... you are writing 10000line code for 10 line code. TERRIBLE
@Cowkill
Жыл бұрын
@@freespeech515 So, the problem comes from MUI.
@ronellcrizvillamil8105
Жыл бұрын
why next link ruin/destroy display flex?
Les goooo,SICK content inbound!!
@dolapoajayi2156
Жыл бұрын
Im waiting for your own tutorial with updates next13😁🙏
@alicodes22
Жыл бұрын
@@dolapoajayi2156 Probably going to do an entire build!! Thanks for waiting🙌
@dolapoajayi2156
Жыл бұрын
@@alicodes22 let’s get it💪
Amazing tutorial Sonny. You made everything so clear. NextJS 13 is beyond great. Thanks for your providing this content to us! PAPAFAM is THE Best Community!
The best rundown of NEXT.JS 13 I was able to find. No-nonsense and to the point, reminds me of the early days Khan academy... Brilliant. Thank you.
You are the real GOAT sunny you don't know how much you've helped people with your channel
You are the ultimate professional Sonny. Amazing tutorial. I looking forward to a later point in time as NEXTJS 13 evolves.
Hey Sonny, just wanted to say thanks for this amazing video on NextJS 13! It was really helpful and easy to understand. You did an awesome job explaining everything. Keep up the great work!
Thank you man, great material. Version 13 feels more intuitive when building
Been looking for a nextjs 13 tutorial ever since the nextconf... get blessed man much love👊
I've watched over 15 videos of next 13 from the most popular js/react youtubers and this vid is by far the best. Excellent work as always!
Love your presentation and speed. Yours are the first videos where I have to pause when following along (that's a GREAT thing!). New subscriber here
Insanely useful video man, I really think Next 13 will make it way cleaner in the long term rather than needing so many getStaticProps, getStaticPaths and getServerSideProps everywhere
You are the best that i have watched. Very brief and concised yet you almost covered everything on nextjs. The examples is very well explained.
Nice one Sonny. Was really excited about this update and it was nice to see it layed out all in one example video 🙌
One of the best video about Next.js 13 until recently.
I was struggling to wrap my head around the new concepts in NextJs; but you explained them all! Thanks!!!
Definitly the best nextJs 13 tutorial. Best chanel for modern web tech. Thanks lot Sonny. 👍
Right to the point. No time wasted. NextJS is my new framework!
First time watching one of your videos but it won't be the last! Thanks Sonny - this was brilliant.
Thank you, Sonny. Excellent tutorial, very helpful. You are a great teacher
Really a excellent video! I'm grateful for your good work, Sonny!
Holy cow - I'm totaly flashed - amazing stuff I will check it out. And a super tutorial, thanks so much
Great overview, very helpful. One small improvement regarding keeping the state for the input field - you may keep it in the ref instead the state, that way you may skip the extra rerenders on every key stroke.
Great video, tons of info packed into less than an hour! Earned my sub for sure
It's so helpful and interesting😍 Thank you, friend🙏 Server components seems very good. New files structure and layout decomposition is my favourite👍
Incredible video, Sonny, thank you! Would love to see a detailed walkthrough of the new middleware updates in Next 13 as well.
Hi Sonny 🤩 Thank you so much! I was waiting for your next.js-13 tutorial 👍 I wonder if you can "upgrade" this tutorial by giving us an example of where the single user [id] have an object we map over to get the keys/values from. e.g. the posts and a post detail having an object if images. I tried it myself but I had to create a separate component just for that for including the 'use client' and passing the props. I wish wish you can show us an example 🙏
this was best video on nextjs by far seen. thanks for making this video.
Great videos and content as always. I always find inspiration to improve watching your videos.
This video is really helpful. I didn't get the point of next.js@13 until I saw your video.
It's amazing to see the reinvention of the server first approach to web development. This actually has a thought process similar to building a PHP web application from the earlier days of web development.
@TinohCosta
Жыл бұрын
Php is hideous to look at, let alone to consider, but I have to allege that we are going backwards, for the past few years I have not had to consider compute costs for frontends but it seems like a new trend once more
This is the most comprehensing I ever taken tutorial on nextJs.
So clear and concise, you are the man!
@SonnySangha
Жыл бұрын
Thank you so much!!!
This tutorial is a masterpiece, thank you.
Thanks! I was comparing react, next and laravel to decide which option to go with. You didn’t let any more room for pros and cons, i will go with next for my website 👍👍👍 thanks for saving a week of time for me ❤️❤️
@SonnySangha
Жыл бұрын
That’s awesome thank you I’m so glad it could help you!!!
@johnsimms9444
Жыл бұрын
Laravel is a completely different world from Next - Next still has more of a frontend appeal. One thing missing is database work. Something you might like to add to your Nextjs app is Prisma, which similarly to Laravel can help you generate models and migrations.
Now we're talking. Thank you, man. Cheers.
Thanks from Ziguinchor (Sénégal, West Africa). It's really helpfull. Tu es magnifique
It’s really the up to date the best video about next js 13
Wow so amazing. Thank you for your make the NEXT.JS 13 easy to understand.
Thanks for your work, your video came at the right time. Currently building my portfolio and 13 jumped right in the middle of it .
You're the best! Thanks for the video Sonny 💙
I was waiting for this since… 4 days 😂
great tuts man, ive been waiting to learn this new next13 stuff
Awesome tutorial, thanks.
Good content. Very well explained. Thanx for the tip for checking types. Really cool
Amazing explanation, thank you
Really nice and easy to follow video. Thx a lot!
Absolutely LOVE this tutorial! You're my fav person of the day. Thank you so much. Liked & Subed. Will go snoop around searching for more :)
Turbopack and other updates please, keep smashing it 👊
Sonny, you're by far the most Goated on youtube for NextJS. I started learning next as 13 released. Can you make a logic guide explaining how to convert old N12 videos into N13? I can't figure out how to make a clickable darkmode button or localization. Thank you for all the content.
awesome video ..thank you sonny . waiting for more nextjs 13 from ur channel mainly about turbopack
Vercel should give you RECOGNITION for what You're doing here . many developers are Learning NEXT JS from You, Not Them. PAPAFAM
Another great tutorial, thanks Sonny
I really appreciate your efforts dude💕
Thank you man for this amazing powerful video!
Right Now this is the best than other. Very depth...
Great tutorial and easy to understand
Thank you! Awesome tutorial
Fan-freaking-tastic!! Yes, please, do , etc. Thanks Sonny!
This complete NEXT JS !# TUTORIAL is Awesome !😱! You work fast as lightning🌩🌩 Thanks you !!
Awesome video. Thank you!
This amazing guy deserves 1M+ subscribers ❤
Amazing overview 🎉
Great video(s). Thank you very much! It would be amazing if you explain how to use nextjs 13 + nodejs + authentication with keycloak or something other.
Great tutorial! Appreciate it!
The only reason for me to have interest in coding♥️♥️♥️♥️♥️
Thanks bro for the tut
Yoooooo So much excited for this
Amazing content, the loading and error components will make my life easier:)
@SonnySangha
Жыл бұрын
Right!!
Amazing brother.
Too clear explanation, very easy to understand
as usual, standing out tutorial sonny, although my initial next.js 13 folder structure is not same as yours for some reason😂😂 but you covered everything nicely, smoothly, and pretty much quickly, Thank you for this valuable content and keep up the good work
well explained thank you
Great tutorial, learned a looooot - Thank you very much can we get more ;)
rly helpfull, amazing new features.
Hey Sonny, great video as always! I'am wondering, can you do a video on how do we use library that uses context api and should we wrapper the context api in the layout?
great tutorial helped a lot!!!
Great work !!! ❤❤❤
It was very useful and fast. thanks.
what a tutorial ! thank's a lot Sonny
🤩🤩🤩🤩🤩🤩🤩 can't wait to start playing 💪
Great tutorial. Thanks a lot for making this.
ThankU Sonny time to level up with NextJS 13
Amazing tutorial thanks!
@SonnySangha
Жыл бұрын
Glad it was helpful! #PAPAFAM
big shout out from China, genius!
Sonny you're amazing ! Can you make a video for next images, turbopack and all details stuff ?
Just amazing 👏
This is the best next js -13 tutorial on KZread
@SonnySangha
Жыл бұрын
LETS GO DUDE!!
Thank you 🙏🙏. Good explain
This man is legend
Thanks, Sonny you are amazing ;) 🤩
Best channel Sonny 💯💯💯💯💯
thanks a lot for this!!
Papa Fam all the way yoooo Guyzzzz
I noticed that the room light change from day to night, thanks for your hard work!
Sonny could read my mind 😂 can’t wait man
Amazing video sonny really well doe. I'm new into TS and do you know how we can fix 14:13? The TodoList in the future?
Thanks for sharing the valuable knowledge.
Thanks for the Video
Good contents, I've reviewed lots of contents on KZread to understand differences in between 12 and 13. this is the best. Thanks Sonny.