Advanced Next.js Course | Learn Next.js in 2021

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

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

  • @codedamn
    @codedamn  3 года назад +3

    Learn NextJS using the Full Stack Developer Roadmap on codedamn and build over 25 Projects: bit.ly/fullstack-codedamn

  • @CodingNuggets
    @CodingNuggets 3 года назад +8

    Dude, you always come out with some of the best videos. Love what you're doing.

    • @codedamn
      @codedamn  3 года назад +2

      I appreciate that!

    • @CodingNuggets
      @CodingNuggets 3 года назад +1

      @@codedamn Always my friend! 😁

    • @JanneKalliokulju
      @JanneKalliokulju 3 года назад

      Totally agree with Coding Nuggets. It has been a pleasure to follow your Next.js videos

  • @faraonch
    @faraonch 2 года назад +1

    Even as an experienced NextJS user it took a lot out of it. You explain quite well!

  • @uwemisrael5836
    @uwemisrael5836 2 года назад

    Thanks for this extensive explanation. I found it really helpful.

  • @mymusicloversworld
    @mymusicloversworld 2 года назад

    I am New to nextjs..best explanation I have found so far. Thank You!

  • @jerryhogan3024
    @jerryhogan3024 3 года назад

    when you used codedamn as a query it overwrote it because object keys a unique. So, it wasn't a bug. You are awesome!!!

  • @yourManLan
    @yourManLan 3 года назад +1

    You're REALLY good at explaining this stuff...

  • @CarloRizzante
    @CarloRizzante 3 года назад +1

    Great intro to Next js, thank you!

  • @aestheticallyamazing2003
    @aestheticallyamazing2003 3 года назад

    I'm truly amazed on dynamic loading

  • @laxmangiri5511
    @laxmangiri5511 3 года назад +6

    thanks for this tut

    • @codedamn
      @codedamn  3 года назад +1

      You're welcome!

  • @jesusidev
    @jesusidev 3 года назад +3

    First time switching to Next JS and what caught me off guard was that there was no src/ directory and everything is under pages. I think this is something that took me a while to wrap my head on the idea of the directory structure. Great video thanks!

    • @Svish_
      @Svish_ 3 года назад +2

      You can put it in src if you want to. I do, and prefer it that way 👍

  • @rconr007
    @rconr007 3 года назад +1

    Thank you again, for another kick-ass tutorial. Wondering if you can create a CLEAN CODE video and best practices.

  • @ilmanmanarulqori5632
    @ilmanmanarulqori5632 2 года назад

    Oooh come on, this is Great Video on NextJs ever!. But why u all guys just watching without hit Like button. Great work, i love your doing, keep it up👍🏻

  • @drmacsika
    @drmacsika 3 года назад

    I was 100% convinced to buy the course on code damn after this tutorial. You're such an awesome teacher especially how you break down everything.

  • @anooppk2341
    @anooppk2341 3 года назад

    This is the best tutorial on nextjs data fetching🙏

  • @adamrolczyk7217
    @adamrolczyk7217 2 года назад

    Fantastic tips, learned a lot! Thank you!

  • @shantanupatil3252
    @shantanupatil3252 3 года назад

    Really amazing content. Didnt find any tutorial as in depth as this one.

  • @sbrabs
    @sbrabs 3 года назад

    This was fantastic, thanks for helping me dive a bit deeper. Loved the explanation for revalidate, awesome!

  • @SEBASdoELECTRICSLIDE
    @SEBASdoELECTRICSLIDE 2 года назад

    This was great! Really well thought out explanations! I learned a lot thanks :D

  • @anooppk2341
    @anooppk2341 3 года назад

    The explanation on revalidate parameter was excellent

    • @codedamn
      @codedamn  3 года назад

      Glad you understood!

  • @WolfManThoughts
    @WolfManThoughts 3 года назад

    Bro, Kool Stuff! Awesome! Keep up the great work!

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

    thanks for explaining revalidate

  • @rajaj6043
    @rajaj6043 2 года назад

    You're awesome bro!. Learnt a lot!!!

  • @bhatvikrant
    @bhatvikrant 3 года назад +7

    This is awesome! Can you also cover other libraries used with next, like react-query, GraphQL etc... Would be great

    • @codedamn
      @codedamn  3 года назад +2

      That is going to be part of React Mastery learning path and Next.js Mastery on codedamn.com, soon!

    • @tokenattainer7115
      @tokenattainer7115 3 года назад

      @@codedamn When can we expect it? Because if we take the 1337 plan for one or two months for it, and the course remain same for that period, Then we will be 'fooled'.

  • @emmanuelugwuoke967
    @emmanuelugwuoke967 2 года назад

    This is a great video!

  • @alexanderveprik3331
    @alexanderveprik3331 3 года назад

    36:10 Dropping query parameter that matches the route parameter name is expected behaviour. The documentation also mentions this.
    > However, route parameters will override query parameters with the same name.

  • @mediocre7199
    @mediocre7199 3 года назад

    i'm really excited for this ❤️

  • @cumar8585
    @cumar8585 3 года назад +1

    it was extremely useful for me

  • @kunalmathur4890
    @kunalmathur4890 3 года назад +1

    Awesome 🔥

  • @rohan7011
    @rohan7011 3 года назад

    Best next js tutorial

  • @demarco6967
    @demarco6967 3 года назад

    thanks man. you explained this so well❤️❤️🔥

  • @HarshalHirve555
    @HarshalHirve555 3 года назад

    Thank you so much for this video. Much appreciated.

  • @snaplu4683
    @snaplu4683 3 года назад

    hey bro, don't let those negative comments discourage you, you did a good job, l have learned a lot from this video, thank you so much

  • @Codewithsiaa
    @Codewithsiaa 3 года назад

    I really enjoyed, thanks so much

  • @royz_1
    @royz_1 2 года назад

    50:04 - this might be confusing for people. As the visitor does not take any load of building the page. The user would have to wait a bit longer. The load of building the page is always taken by the server.

  • @phamvanhan7037
    @phamvanhan7037 3 года назад

    Thank you very much!

  • @HolmesPatrick
    @HolmesPatrick 3 года назад

    Your teaching is awesome, may you please make one video for crud operation using api , micro service type. That would be great

  • @sarbjotsingh9998
    @sarbjotsingh9998 2 года назад

    Great content. Can you talk about deployment options available and downsides of scaling with next.js?

  • @gladsmedeveloper9536
    @gladsmedeveloper9536 2 года назад

    36:13 It is not bug. Because, JavaScript object can't have two properties with same name.

  • @DEV_XO
    @DEV_XO 3 года назад

    Thank you!

  • @avimehenwal
    @avimehenwal 3 года назад

    Wow! this video is a GEM

  • @adityasaxena7374
    @adityasaxena7374 2 года назад +1

    How can I add loaders on page with fallback set to "blocking" ?

  • @sai_charan
    @sai_charan 3 года назад

    Thank you, Mehul!

  • @raihankg
    @raihankg 3 года назад +1

    Thank you so much for providing us such a valuable resource for learning nextJs.
    Just one minor feedback - please try not to switch windows so fast, it can make viewers dizzy.

    • @codedamn
      @codedamn  3 года назад +1

      Will keep in mind, thanks!

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

    Hi Mehul, in case of get static props and re validate is set to 10 sec, lets say that data has been changed on server side/ or a database update ... but for that particular data user is only checking front end(i.e second request ) after few days or months and still sees old data ? how should we look at it ? Isn't it showing wrong data on screen confuses users ??

  • @manishthomas341
    @manishthomas341 3 года назад

    Great Video...!!!
    You're really amazing

  • @raviraval6714
    @raviraval6714 3 года назад

    Omg awsome

  • @irsyadadl
    @irsyadadl 3 года назад

    Let start looting. Thank you 👍

  • @jimshtepa5423
    @jimshtepa5423 3 года назад +2

    Amazing content, thank you Mehul. This is the third long video I watched on your channel. A quick question: whenever you talk about static website, does that mean that nextjs server on the backend is not necessary? if so, how does new content (additional post or change in the layout of the page) get reflected on the website? does that require starting the server for a short period of time followed by build process followed by redeploy as a static website?

    • @codedamn
      @codedamn  3 года назад +1

      You're right. If Next.js has generated the "static" webpage, it means that the framework as already created static HTML and JSON files for that page and pushed to CDN (or file system) for fast delivery.
      The way new changes are reflected is that when you deploy a new version with changed CSS, etc. you rebuild the app and it gets deployed with different file names (file hashes), therefore your browser can download fresh builds from the newly served .html file instead of stale ones (which had a different name)
      The way changes are reflected while the server is running is that Next.js will set an "expiry" on the CDN for incremental static regeneration. When the file request expires, the CDN will still serve the stale file to user, but would request the host origin to send updated page. Next.js, already running under a node process on host, will re-render the page and send it to CDN for further requests. This happens at most every X seconds (the revalidate parameter).
      Here I am assuming you have deployed your app on Vercel. If not, you have to take care of the CDN and ISG handling yourself, which sounds like a pain honestly haha.

    • @jimshtepa5423
      @jimshtepa5423 3 года назад

      @@codedamn understood, thank you!

  • @sayed1821
    @sayed1821 3 года назад

    If getstaticprops can now re validate. Then when should i use getServerSide props

  • @pranavpatil5849
    @pranavpatil5849 3 года назад +1

    Can we implement env profiling like sit uat urls in Nextjs ?

  • @yashchauhan5710
    @yashchauhan5710 2 года назад

    u have a question sir ,,in serversideprops part 1 u said nexyt js will make the page as ssr but ssr is good for seo soo we should have it in all pages ...i have tested just by adding the function next js mark page as ssr in build analysis soo tell me what im saying should it be good for seo purpose to just add the function ? please help im confused

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

    Would it be possible to update this video by using Next.js 13? Thank you

  • @devaview5883
    @devaview5883 3 года назад

    Thanks

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

    WHERE CAN I GET A LENGTHIER VERSION OF THIS COURSE?

  • @georgestatefield
    @georgestatefield 3 года назад

    @1:19:15
    what if somebody will make a lot of requests
    and the server will generates a lot of stored pages,
    then exceed the limit of free space and hangs

  • @michaeljudge5063
    @michaeljudge5063 3 года назад

    Gold

  • @bakbak1830
    @bakbak1830 3 года назад

    Preview mode: does that mean once you enable it for one route it is always enabled for other routes (using cookies) and it will impact the performance? How you can disable it programmatically rather than deleting the cookies?

  • @RukhsarManzoor
    @RukhsarManzoor 3 года назад +2

    Can you please share your vscode settings also which theme you are using? Looks awesome

    • @MaxProgramming
      @MaxProgramming 3 года назад +1

      I think the theme is Monokai or something related to Monokai

  • @beyondcode_
    @beyondcode_ 3 года назад

    Can you add a tutorial for nextjs with redux setup

  • @fahimalif4068
    @fahimalif4068 3 года назад

    name of the vscode theme??

  • @naman_dw
    @naman_dw 2 года назад

    8:22 If it doesnt use JS to include env variables, then how exactly does it include them?

  • @_sumitdey.exe1
    @_sumitdey.exe1 3 года назад

    Hi Mahul Bhaiya.. Thanks for the advanced tutorial.
    can I use react context hooks inside getServerSideProps()?

  • @BonBonInoc
    @BonBonInoc 3 года назад

    when should you only use dynamic import?

  • @farhanfarooq
    @farhanfarooq 3 года назад

    Is there any work around to make next/image work with next export? Build is crashing

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

    bro i want to learn next js only not full stack can you give the link for next js i will buy that.

  • @mithunreddy7516
    @mithunreddy7516 3 года назад

    Nextjs is not working for me. Can someone explain the internal server error it suddenly gets collapsed. What to do on this?

  • @kunalmathur4890
    @kunalmathur4890 3 года назад

    Vs code theme ??

  • @phemartin
    @phemartin 3 года назад

    I don't understand why we would use `getStaticPath`. If I want a route like `/store/[id]` and I want it to store the information about this page (say fetch information about ID and save it on cache)... how can I fetch it dynamically, if `getStaticProps` cannot access the id? HELP!

    • @codedamn
      @codedamn  3 года назад

      getStaticPaths is just a helper method available to work with getStaticProps. Your "id" will be received in getStaticProps

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

    velcome!

  • @josbexerr5166
    @josbexerr5166 3 года назад

    Gracias mister......saludos de los andes peruanos

    • @codedamn
      @codedamn  3 года назад +3

      Gracias. No hablo español, pero traduzco Google para ganar.

  • @bilalashraf6704
    @bilalashraf6704 3 года назад

    can u help me protecting routes using context in nextjs?

  • @ariseawake3437
    @ariseawake3437 3 года назад

    Super

  • @dinesh.p8642
    @dinesh.p8642 2 года назад

    i like ur voice

  • @jimshtepa5423
    @jimshtepa5423 2 года назад

    Hello Rahul, just rewatched the video once again; following question crossed my mind: is it possible to connect to db and perform any read/write operations using serverless functions of nextjs? or is the only option to build a separate server e.g. using expressjs and in that server handle all connections and db operations in that server?

    • @emmanuelugwuoke967
      @emmanuelugwuoke967 2 года назад

      Yes, you can. You don't need to have a different server to read/write to a db. Check next template repo and you would see different db connection templates

    • @jimshtepa5423
      @jimshtepa5423 2 года назад

      @@emmanuelugwuoke967 Thank you, Emmanuel

  • @ikhsanfadillah9689
    @ikhsanfadillah9689 3 года назад

    why youtube prevent me to like this video more than one like -__-

  • @sunris3919
    @sunris3919 3 года назад

    Pls Mehul post your nextjs project on youtube pls

  • @leanprogrammer
    @leanprogrammer 3 года назад +1

    How do you manage state in the complete course?

    • @codedamn
      @codedamn  3 года назад

      Which state?

    • @leanprogrammer
      @leanprogrammer 3 года назад

      @@codedamn application state. I've seen there an e-commerce app.. Do you use graphql + Apollo or RESTful API + Redux?

    • @georgeokello8620
      @georgeokello8620 2 года назад

      @@leanprogrammer I think the question you meant is maintaining state changes at the component level when their is a change triggered in the UI component. That's where state machines/state management tech comes in like Zustand, XState, Redux, etc

    • @georgeokello8620
      @georgeokello8620 2 года назад

      @@leanprogrammer Graphql changes the representation of the protocol that is going to be consumed by multiple client applications.

  • @iamdeveloper2580
    @iamdeveloper2580 3 года назад

    what about getInitialProps?

    • @codedamn
      @codedamn  3 года назад

      It is deprecated and you can work without it too

  • @andreas7181
    @andreas7181 3 года назад

    Good

    • @codedamn
      @codedamn  3 года назад +1

      Thank you member 😄

  • @ridl27
    @ridl27 3 года назад

    code pls 🙏🏻

  • @kaustav07
    @kaustav07 3 года назад

    Someone please tell me the VSCODE theme in this video.

    • @codedamn
      @codedamn  3 года назад

      Monokai Dark

    • @kaustav07
      @kaustav07 3 года назад

      @@codedamn Thank you.

  • @skipmonday6467
    @skipmonday6467 3 года назад

    What about subdomain

    • @codedamn
      @codedamn  3 года назад +1

      Can you elaborate more?

    • @skipmonday6467
      @skipmonday6467 3 года назад

      @@codedamn I am just asking if you can make a video on how to handle sub domain routing with next js

  • @arupde6320
    @arupde6320 3 года назад +1

    nest.js bhai ... nest.js .....

    • @codedamn
      @codedamn  3 года назад +2

      I'll get my hands on with it, then you can expect some content ;)

  • @Systemx93
    @Systemx93 3 года назад

    I dont see what's advanced about this course

  • @anthonyramsey5988
    @anthonyramsey5988 3 года назад

    I'd never heard of Jawa script before... very interesting and looks a lot like Javascript.

  • @nurullahbaykara9772
    @nurullahbaykara9772 3 года назад

    Thanks