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

Поделиться
HTML-код
  • Опубликовано: 12 июн 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.

  • @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!

  • @mohammadidris4481
    @mohammadidris4481 11 месяцев назад +5

    I have watched several tutorials on RUclips 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

  • @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!

  • @Jawa332
    @Jawa332 10 месяцев назад +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 8 месяцев назад

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

  • @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 💪🏾💪🏾💪🏾💪🏾

  • @user-zk4uv4jh3k
    @user-zk4uv4jh3k 11 месяцев назад +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.

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

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

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

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

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

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

  • @ryujin2206
    @ryujin2206 10 месяцев назад

    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.

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

    You make it so easy to understand everything .

  • @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.

  • @lovepreetSingh-rx4vz
    @lovepreetSingh-rx4vz 5 месяцев назад

    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

  • @user-Chinchu_Ori
    @user-Chinchu_Ori Год назад +1

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

  • @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.

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

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

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

    I'have been waiting 😭😭❤

  • @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 😍

  • @Hassanrafique198
    @Hassanrafique198 9 месяцев назад

    Clear and Concise tutorial. Thanks!

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

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

  • @pinkimandal6842
    @pinkimandal6842 6 месяцев назад

    your teaching way is good and understandable.

  • @lscodeschool957
    @lscodeschool957 10 месяцев назад

    Thank you Pedro, this was amazingly clear

  • @waifucodes
    @waifucodes 10 месяцев назад

    thank u Pedro! i love your tutorials

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

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

  • @mohammadpartovi1813
    @mohammadpartovi1813 10 месяцев назад

    Fantastic tutorial. Thanks for sharing your knowledge.

  • @xGalasko
    @xGalasko 9 месяцев назад

    Fantastic video very concise and great communication. Thank you.

  • @user-wk7vb6kg1f
    @user-wk7vb6kg1f Год назад

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

  • @rvileladesigner-renan8694
    @rvileladesigner-renan8694 Год назад

    Great video bro, bro! Thank you

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

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

  • @sonamohialdin3376
    @sonamohialdin3376 9 месяцев назад

    Very helpful and understandable tutorial thank you

  • @totfosk
    @totfosk 9 месяцев назад +3

    i am wondering how the hell can the other RUclipsrs 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!!!!!

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

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

  • @MayankKumar-yf6bw
    @MayankKumar-yf6bw 11 месяцев назад

    Life saver video, Hats Off 🙌

  • @lukas.webdev
    @lukas.webdev Год назад +1

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

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

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

  • @buddhalama4041
    @buddhalama4041 10 месяцев назад

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

  • @Igor-nd3nf
    @Igor-nd3nf 11 месяцев назад +1

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

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

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

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

    Thanks a lot Pedro. This is awesome

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

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

  • @appstuff6565
    @appstuff6565 8 месяцев назад

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

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

    Super clean explanation. Keep it up brother

  • @Nanashi-rq7lk
    @Nanashi-rq7lk Год назад

    Thanks for the nice tutorial. I learned a lot.

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

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

  • @affangavankar8848
    @affangavankar8848 10 месяцев назад

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

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

    awesome explanation.. thanks a lot

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

    I am in love with your content ❤

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

    nice and clear explanation

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

    You're always on point.

  • @markus-linke
    @markus-linke 8 месяцев назад

    Great video, thanks!

  • @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

  • @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😊)

  • @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 :) )

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

    Amazing! Thank You

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

    thanks a lot Pedro! 👊👊

  • @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:)

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

    Thanks for this tutorial

  • @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 👌👌💥💥

  • @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!

  • @mmd1dev
    @mmd1dev 9 месяцев назад

    great thank you Pedro😍😍😍😍😍

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

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

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

    crystal clear 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

  • @arhabersham
    @arhabersham 9 месяцев назад

    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 😃

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

    about us route is such a funny part😁

  • @mohamedmmdoh5918
    @mohamedmmdoh5918 4 месяца назад +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 ??

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

    Cool, thanks !

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

    Thanks

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

    Thank you

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

    man you saved my life

  • @mzakysyukur3417
    @mzakysyukur3417 10 месяцев назад

    nice tutorial always

  • @devdotcode
    @devdotcode 10 месяцев назад

    Since data is rendered on the server, do I need to really reload the page so that I will have a fresh data? What is the workaround for this on the client side? Let's say you have a navigation and I want an updated data everytime I go back to that page without reloading. I hope you can answer this, Thank you!

  • @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.

  • @parkerrex
    @parkerrex 10 месяцев назад

    This video was so fire

  • @tephrosisOfficial
    @tephrosisOfficial 8 месяцев назад

    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?

  • @AE-qj5xi
    @AE-qj5xi Год назад +2

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

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

    thank u sir...

  • @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 ?

  • @ayoubnachat5920
    @ayoubnachat5920 11 месяцев назад +1

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

  • @mohamedsedahmad585
    @mohamedsedahmad585 8 месяцев назад

    absolutely legend

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

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

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

    Love from India ❤❤❤❤

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

    thanks a lot

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

    ty man :D

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

    On the server side fetching example you gave, is it possible to add filters on it?

  • @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?

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

    In this src/app folder structure, can we use context as like we used in getserversideprops method??

  • @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.

  • @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

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

    GOAT 🐐

  • @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.

  • @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

  • @isaacnam2765
    @isaacnam2765 9 месяцев назад

    pedro you're awesome

  • @legendaryfootball4222
    @legendaryfootball4222 11 месяцев назад +1

    why is the data from the api not shown in the console when it is console logged but is displayed in the browser when you map through it and render it

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

    Thank you for this. I'm still learning and this has been really helpful. I'm a bit confused about something. Where do I create my components folder?? In source or in app, if I create it in app wouldn't next think it's a route? Or it won't happen now that you have to create a page.tsx file on it?