NextJS 13 Tutorial - Routing, Data Fetching, Server Components...

Поділитися
Вставка
  • Опубліковано 1 лип 2024
  • NextJS 13 came with a lot of new changes, so I wanted to make this video explaining what is up with the new update.
    Join our Discord: / discord
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    🐙 GraphQL Course: codedamn.com/learn/graphql-fo...
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / pedro.fmachado_
    Github: github.com/machadop1407
    Business Email: pedro@pedrotech.co
    🌟 Gear / Hardware I Use and Recommend 🌟
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💻 amzn.to/42kqFuM 💻 Monitor
    🖱️amzn.to/3C0ZhHb 🖱️ Mouse
    📷 amzn.to/3OHJvbM 📷 My Camera
    🎤 amzn.to/3oxSthj 🎤 My Microphone
    ⌨️ amzn.to/3oFPpj1 ⌨️ My Microphone
    ⚡ amzn.to/3MYMnzM ⚡ LED Lights In the Background
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    NEST 13 CHANGES - MARKERS
    00:00 | Intro
    00:59 | Create a NextJS App
    02:48 | TurboPack
    04:52 | Folder Structure
    05:31 | Routing
    10:57 | Layouts
    14:07 | Change with Fetching Data
    32:24 | Server vs. Client Components
    #reactjs #coding
  • Наука та технологія

КОМЕНТАРІ • 171

  • @sanjeevanibhandari5652
    @sanjeevanibhandari5652 Рік тому +47

    The way you make topics effortlessly clear and make everything understandable is truly remarkable.

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

    Wonderful video! Thank you so much for the quick course highlighting the changes, it had been very confusing for me since a long time, but now it's easier to go through the docs and get everything cleared!

  • @mohammadidris4481
    @mohammadidris4481 11 місяців тому +5

    I have watched several tutorials on UA-cam about NextJS 13 but no one is more explanatory likes your, ban't wait for the full beginners course. Thank you so much for doing this

  • @luniacllama8373
    @luniacllama8373 Рік тому +24

    found your channel less than a week ago and honestly the only thought I have right now - WHY DIDNT I KNOW YOU BEFORE , lovin the content ! thank you and please keep helping me master full stack dev!

  • @user-zk4uv4jh3k
    @user-zk4uv4jh3k Рік тому +2

    This is so good. I'm sorry for the others but honestly thanks to all of your efforts but it gets boring unlike this one. Very direct to the point. I hope you'll have more of this and specifically dealing with database like CRUD operations. I'm looking forward to learn so much from this.

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

    Thanks man, your videos really help me understand stuff.
    it feels like you manage to simplify stuff and make them approchable!
    keep up

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

    Thanks for this! I've been scratching my head numerous times just to understand data fetching in NextJS.
    This is really helpful~

  • @eshw23
    @eshw23 Рік тому +2

    Amazing much needed video, another thing that blew my mind is, you can develop a really complex app with Nextjs and simply deploy it to Vercel with one click. Usually deploying a React front end, and an Express backend(or any backend framework) is such a painful process.

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

    Thank you so much Pedro! This is exactly what we needed!!!

  • @unhandledexception1948
    @unhandledexception1948 9 місяців тому +1

    I find it remarkable is how you have accumulated such deep knowledge of front end development at such a young age :-) great content.

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

    I love your approach it has opened out precious concepts when i was a beginner upto now in my intermediade fullstack development 💪🏾💪🏾💪🏾💪🏾

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

    bro how is it you make learning this shit so fucking easy, its so crazy. I wish all my CS professors were like you bro, straight up and I mean that shit from the bottom of my heart. You got a talent for teaching.

  • @shaked1233
    @shaked1233 Рік тому

    Super helpful video, everything is clear and concise. you deserve more subs

  • @user-Chinchu_Ori
    @user-Chinchu_Ori Рік тому +1

    Thanks for all the meaningful information, i was in need for this kind of explanation !!!

  • @refadhile
    @refadhile Рік тому

    always waiting for ur update in next js videos bro, cant wait for the course

  • @lovepreetSingh-rx4vz
    @lovepreetSingh-rx4vz 6 місяців тому

    You are unbelievable brother, you dont know how easy you can make the things other youtuber i dont know why they make fking 5 hours long video for nothing, you are really doing good job 👍 and you

  • @MuneebR7
    @MuneebR7 Рік тому

    You make it so easy to understand everything .

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

    I got your suggestion from my friend that saw all react hooks and I saw that video as well..
    Really, your content of video is amazing...
    Thanks for doing this great things 👍 keep doing...

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

    Oh my god I was LOOKING FOR THIS 😍

  • @pouyabh
    @pouyabh Рік тому

    Thanks a lot for explaining all aspects of routing too specially the dynamic part

  • @eternalmisunderstood6342
    @eternalmisunderstood6342 Рік тому +3

    20:21 It actually shows up in the console. Not browser console but in node console in VSC because it's a server-side component. Thanks you a lot.

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

    Clear and Concise tutorial. Thanks!

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

    Fantastic video very concise and great communication. Thank you.

  • @lukas.webdev
    @lukas.webdev Рік тому +1

    Great Video! Thanks for sharing. Keep it up! 😉🔥

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

    Great job. Hopefully you can find to to create a project with it, your viewers would love it.

  • @albertoiong6895
    @albertoiong6895 Рік тому

    Many thanks to your video, please keep on teaching us...

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

    Fantastic tutorial. Thanks for sharing your knowledge.

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

    Thank you Pedro, this was amazingly clear

  • @legendaryfootball4222
    @legendaryfootball4222 Рік тому +3

    I'have been waiting 😭😭❤

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

    19:00 starts focusing on the topic of fetching data of numerous endpoints of this Json place holder API. Soooo amazing to see!! I love Next 13

  • @luizinhogm
    @luizinhogm Рік тому

    Bro, thanks a lot for this kind of knowledge! You're amazing!!

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

    Great content. I like the way you explained everything ❤🎉

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

    Thank you for this Pedro. Loved the explanation esapecially the before and after 13 with app routing and the server & client components.

  • @coderite_
    @coderite_ Рік тому

    Thanks a lot Pedro. This is awesome

  • @Igor-nd3nf
    @Igor-nd3nf Рік тому +1

    Tutorial é tão bom que mesmo eu não sabendo inglês, consegui entender

  • @sadique_x_
    @sadique_x_ Рік тому

    i dont think the guy cut the video to read the script... likeeeee. i fully understood every second of what he taught. thanks man!!!

  • @rvileladesigner-renan8694
    @rvileladesigner-renan8694 Рік тому

    Great video bro, bro! Thank you

  • @Andrewheinx
    @Andrewheinx Рік тому

    Super clean explanation. Keep it up brother

  • @totfosk
    @totfosk 10 місяців тому +3

    i am wondering how the hell can the other UA-camrs mess it up so much that this is the first tutorial in which I understand what you are doing all the time (and I have extensive experience already with React). You are good man thanks!!!!!

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

    your teaching way is good and understandable.

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

    I learned so much from this video. Thank you man.

  • @Nanashi-rq7lk
    @Nanashi-rq7lk Рік тому

    Thanks for the nice tutorial. I learned a lot.

  • @derarageremu
    @derarageremu Рік тому

    thnks a lot. i haven't word for you keep going bro!!!

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

    thank u Pedro! i love your tutorials

  • @treksis
    @treksis Рік тому

    crystal clear thank you

  • @user-wk7vb6kg1f
    @user-wk7vb6kg1f Рік тому

    From Bangladesh, Your teaching really awesome.Thank you so much

  • @rfryanfavour4369
    @rfryanfavour4369 Рік тому +2

    You deserve an award bro I fr 🎉

  • @kashmirtechtv2948
    @kashmirtechtv2948 Рік тому

    The best... Create more videos like this on more practical topics that we should learn if we are jumping from React to Next JS....
    Infact, make a Playlist of that (React to Next Js😊)

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

    Very helpful and understandable tutorial thank you

  • @erickeft
    @erickeft Рік тому

    thanks a lot Pedro! 👊👊

  • @MayankKumar-yf6bw
    @MayankKumar-yf6bw Рік тому

    Life saver video, Hats Off 🙌

  • @parthivsolanki21
    @parthivsolanki21 Рік тому

    One thing i want to said that , I'm currently learning react nd it's libraries nd other technologies , nd you don't believe that i got suggestion of your video and now I subscribed you and watching your golden content..
    Osm explaination 👌👌💥💥

  • @anthonygesora2517
    @anthonygesora2517 Рік тому +2

    I love you bro... you've made me learn alot🎉🎉🎉🎉🎉🎉

  • @nepalrameshwor1540
    @nepalrameshwor1540 Рік тому

    nice and clear explanation

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

    Man this guy is wayyyyyy underated, TY very much for this tutiorial

  • @gangaautomobiles3071
    @gangaautomobiles3071 Рік тому

    awesome explanation.. thanks a lot

  • @alexpanteli3651
    @alexpanteli3651 Рік тому

    Thanks for this tutorial

  • @edenkefale7129
    @edenkefale7129 Рік тому

    Amazing! Thank You

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

    Hello brother, greetings from Cuba, so that you keep in mind, a complete nextjs video, data fetching, authentication and authorization with roles and whatever else you want to add, thanks for everything!

  • @markus-linke
    @markus-linke 9 місяців тому

    Great video, thanks!

  • @vaibhavkumar8140
    @vaibhavkumar8140 Рік тому +3

    This was the video I was waiting for on Next Js :) I started learning React from your channel and now I am making good progress in Next too, but I wasn't fully aware of the recent update on the next js, I still have some slight doubts, like if I have a server component/page and I have to add a button on it how will I do that?? Can I create a button in the components folder and make it a client component and add all my logic like hooks and event calls, and then import it into the server component? Will this work?? (P.S I love the effort you make in creating all these valuable videos, just wanted to tell you if you can make your course affordable for everyone it would be a nice help :) )

  • @delkitonyi
    @delkitonyi Рік тому

    You're always on point.

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

    I'm speechless, and not hesitate to subscribe to your Chanel

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

    Great video Pedro! A small query, why does the footer not appear at 13:52 on home page, but navbar does..? Keep up the awesome work:)

  • @uicornerwithJ
    @uicornerwithJ Рік тому

    Cool, thanks !

  • @hashira_d
    @hashira_d Рік тому

    I am in love with your content ❤

  • @hamzaking127
    @hamzaking127 Рік тому

    Thank you

  • @walterjorgemazzoni
    @walterjorgemazzoni Рік тому +3

    great video, thanks. Usually when you fetch data, end user selects filters, search strings, sort orders, etc. etc. Those components have to be on a client-side in order to work and be able to capture those events. How do you call the fetch (in a server-side component) with the client filters ? Thanks

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

    Rapaz fora da curva. Novinho e já saca muito do trampo tem excelente inglês. Tá nos 1% de verdade.

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

    great thank you Pedro😍😍😍😍😍

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

    Thanks

  • @DeepLook1
    @DeepLook1 Рік тому

    thank u sir...

  • @interceptorghost1149
    @interceptorghost1149 Рік тому

    about us route is such a funny part😁

  • @aleksandarstanisic1848
    @aleksandarstanisic1848 Рік тому

    ty man :D

  • @ahmedezaldean1743
    @ahmedezaldean1743 Рік тому

    man you saved my life

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

    Why Pedro looks like one of the coolest Backstreet Boys ever, all of a sudden? How long its been I haven't seen this guy? Looking GREAT 😃

  • @bahaaaldein5723
    @bahaaaldein5723 Рік тому

    thanks a lot

  • @dee.s.4513
    @dee.s.4513 9 місяців тому

    Pedro, you need to zoom in on your text. Small text puts pressure on the eyes and tire people. Thanx, and you are doing great.

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

    absolutely legend

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

    This video was so fire

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

    pls i want to ask even if you dont k now the previous Next js, do this video cover both the things i need to know in the previous version of next js?? meanwhile weldon pedro i love you man. plenty love from Nigeria

  • @AE-qj5xi
    @AE-qj5xi Рік тому +2

    Thank you for the video. Nextjs 13 is kinda difficult for me

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

    nice tutorial always

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

    Love from India ❤❤❤❤

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

    GOAT 🐐

  • @27sosite73
    @27sosite73 Рік тому

    ty mate

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

    Really Good Video !! Thank you so much. Am looking for video on SEO with Nextjs 13.. wud appreciate so much if u make one for it, if u havnt already.

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

    Thanks for the clear explanation!
    About the (static) fetching: The strange thing is that when I refreshed, I would get a different dog, wihout altering the code.
    Did they change the default caching?

  • @Saarim-Salim
    @Saarim-Salim 5 місяців тому

    please create a video on an intermediate to an advanced level project using nextjs as well, that would help a ton

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

    21:30 making this as a note for myself… you cannot use events (onClick, onChange etc) in a sever component. That can only be done in a client component.
    By default every component in Next.JS is a server component

  • @mohamedmmdoh5918
    @mohamedmmdoh5918 5 місяців тому +1

    Great video pedro , but i have question why you removed the console in the 20:26 and replaced it with a list of Users instead ??

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

    thanks great video, may i know how to use the state management such as react context in server side component?

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

    love it, but you missed the API part 😅.
    what's vscode theme are you using!?

  • @RedXtremeHacker
    @RedXtremeHacker Рік тому +2

    hi brother, nice video. Can you make a full stack website using nextjs, prisma, next-auth, postgress, tailwind, typescript. i mean using all the famous technologies that are being used.

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

    pedro you're awesome

  • @luisdavidmartinezfundora8224

    thanks

  • @replayzor
    @replayzor Рік тому

    First of all nice job :). Second how can I make in vs/code to see the folders src/app ? Is that an extension or I need to config something ?

  • @Yasma527
    @Yasma527 Рік тому

    I like your videos brother. I Learn skills And also English, I'am CUBAN. Thank you so much

  • @scotly_emi
    @scotly_emi Рік тому

    Thanks for the tutorial is was really helpful but can you do a tutorial on connecting next js to MySQL database please

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

    pedro pedro, i wanna ask, how to render multi data for example
    the first data is just like item data
    and the second data is pagination data
    both are render in the same page
    the second data is need id from the first data.
    the point is, how to both and manage the pagination without rerender the first data?