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

  Рет қаралды 71,349

Mehul - Codedamn

Mehul - Codedamn

Күн бұрын

Пікірлер: 117
@codedamn
@codedamn 3 жыл бұрын
Learn NextJS using the Full Stack Developer Roadmap on codedamn and build over 25 Projects: bit.ly/fullstack-codedamn
@mymusicloversworld
@mymusicloversworld 2 жыл бұрын
I am New to nextjs..best explanation I have found so far. Thank You!
@faraonch
@faraonch 2 жыл бұрын
Even as an experienced NextJS user it took a lot out of it. You explain quite well!
@CodingNuggets
@CodingNuggets 3 жыл бұрын
Dude, you always come out with some of the best videos. Love what you're doing.
@codedamn
@codedamn 3 жыл бұрын
I appreciate that!
@CodingNuggets
@CodingNuggets 3 жыл бұрын
@@codedamn Always my friend! 😁
@JanneKalliokulju
@JanneKalliokulju 3 жыл бұрын
Totally agree with Coding Nuggets. It has been a pleasure to follow your Next.js videos
@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!!!
@uwemisrael5836
@uwemisrael5836 2 жыл бұрын
Thanks for this extensive explanation. I found it really helpful.
@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👍🏻
@jesusidev
@jesusidev 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 жыл бұрын
You can put it in src if you want to. I do, and prefer it that way 👍
@aestheticallyamazing2003
@aestheticallyamazing2003 3 жыл бұрын
I'm truly amazed on dynamic loading
@rconr007
@rconr007 3 жыл бұрын
Thank you again, for another kick-ass tutorial. Wondering if you can create a CLEAN CODE video and best practices.
@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
@yourManLan
@yourManLan 3 жыл бұрын
You're REALLY good at explaining this stuff...
@anooppk2341
@anooppk2341 3 жыл бұрын
This is the best tutorial on nextjs data fetching🙏
@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.
@bhatvikrant
@bhatvikrant 3 жыл бұрын
This is awesome! Can you also cover other libraries used with next, like react-query, GraphQL etc... Would be great
@codedamn
@codedamn 3 жыл бұрын
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'.
@anooppk2341
@anooppk2341 3 жыл бұрын
The explanation on revalidate parameter was excellent
@codedamn
@codedamn 3 жыл бұрын
Glad you understood!
@adamrolczyk7217
@adamrolczyk7217 2 жыл бұрын
Fantastic tips, learned a lot! Thank you!
@CarloRizzante
@CarloRizzante 3 жыл бұрын
Great intro to Next js, thank you!
@venicebeachsurfer
@venicebeachsurfer 3 жыл бұрын
This isn't an "advanced" course, just an intro?
@shantanupatil3252
@shantanupatil3252 3 жыл бұрын
Really amazing content. Didnt find any tutorial as in depth as this one.
@rohan7011
@rohan7011 3 жыл бұрын
Best next js tutorial
@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
@rajaj6043
@rajaj6043 3 жыл бұрын
You're awesome bro!. Learnt a lot!!!
@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.
@WolfManThoughts
@WolfManThoughts 3 жыл бұрын
Bro, Kool Stuff! Awesome! Keep up the great work!
@jimshtepa5423
@jimshtepa5423 3 жыл бұрын
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 жыл бұрын
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!
@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.
@sarbjotsingh9998
@sarbjotsingh9998 2 жыл бұрын
Great content. Can you talk about deployment options available and downsides of scaling with next.js?
@raihankg
@raihankg 3 жыл бұрын
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 жыл бұрын
Will keep in mind, thanks!
@emmanuelugwuoke967
@emmanuelugwuoke967 2 жыл бұрын
This is a great video!
@zkhan1995
@zkhan1995 2 жыл бұрын
thanks for explaining revalidate
@mediocre7199
@mediocre7199 3 жыл бұрын
i'm really excited for this ❤️
@kunalmathur4890
@kunalmathur4890 3 жыл бұрын
Awesome 🔥
@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
@demarco6967
@demarco6967 3 жыл бұрын
thanks man. you explained this so well❤️❤️🔥
@laxmangiri5511
@laxmangiri5511 3 жыл бұрын
thanks for this tut
@codedamn
@codedamn 3 жыл бұрын
You're welcome!
@Codewithsiaa
@Codewithsiaa 3 жыл бұрын
I really enjoyed, thanks so much
@HarshalHirve555
@HarshalHirve555 3 жыл бұрын
Thank you so much for this video. Much appreciated.
@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 ??
@yashchauhan5710
@yashchauhan5710 3 жыл бұрын
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
@_sumitdey.exe1
@_sumitdey.exe1 3 жыл бұрын
Hi Mahul Bhaiya.. Thanks for the advanced tutorial. can I use react context hooks inside getServerSideProps()?
@phamvanhan7037
@phamvanhan7037 3 жыл бұрын
Thank you very much!
@irsyadadl
@irsyadadl 3 жыл бұрын
Let start looting. Thank you 👍
@sai_charan
@sai_charan 3 жыл бұрын
Thank you, Mehul!
@codedamn
@codedamn 3 жыл бұрын
Welcome!
@avimehenwal
@avimehenwal 3 жыл бұрын
Wow! this video is a GEM
@sayed1821
@sayed1821 3 жыл бұрын
If getstaticprops can now re validate. Then when should i use getServerSide props
@manishthomas341
@manishthomas341 3 жыл бұрын
Great Video...!!! You're really amazing
@codedamn
@codedamn 3 жыл бұрын
Thank you!
@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
@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?
@patite3103
@patite3103 Жыл бұрын
Would it be possible to update this video by using Next.js 13? Thank you
@gladsmedeveloper9536
@gladsmedeveloper9536 2 жыл бұрын
36:13 It is not bug. Because, JavaScript object can't have two properties with same name.
@adityasaxena7374
@adityasaxena7374 3 жыл бұрын
How can I add loaders on page with fallback set to "blocking" ?
@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.
@BonBonInoc
@BonBonInoc 3 жыл бұрын
when should you only use dynamic import?
@naman_dw
@naman_dw 2 жыл бұрын
8:22 If it doesnt use JS to include env variables, then how exactly does it include them?
@RukhsarManzoor
@RukhsarManzoor 3 жыл бұрын
Can you please share your vscode settings also which theme you are using? Looks awesome
@MaxProgramming
@MaxProgramming 3 жыл бұрын
I think the theme is Monokai or something related to Monokai
@pranavpatil5849
@pranavpatil5849 3 жыл бұрын
Can we implement env profiling like sit uat urls in Nextjs ?
@farhanfarooq
@farhanfarooq 3 жыл бұрын
Is there any work around to make next/image work with next export? Build is crashing
@raysash4300
@raysash4300 Жыл бұрын
WHERE CAN I GET A LENGTHIER VERSION OF THIS COURSE?
@raviraval6714
@raviraval6714 3 жыл бұрын
Omg awsome
@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
@beyondcode_
@beyondcode_ 3 жыл бұрын
Can you add a tutorial for nextjs with redux setup
@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
@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?
@josbexerr5166
@josbexerr5166 3 жыл бұрын
Gracias mister......saludos de los andes peruanos
@codedamn
@codedamn 3 жыл бұрын
Gracias. No hablo español, pero traduzco Google para ganar.
@devaview5883
@devaview5883 3 жыл бұрын
Thanks
@leanprogrammer
@leanprogrammer 3 жыл бұрын
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.
@ariseawake3437
@ariseawake3437 3 жыл бұрын
Super
@bilalashraf6704
@bilalashraf6704 3 жыл бұрын
can u help me protecting routes using context in nextjs?
@fahimalif4068
@fahimalif4068 3 жыл бұрын
name of the vscode theme??
@vapeurdepisse
@vapeurdepisse 2 жыл бұрын
velcome!
@dinesh.p8642
@dinesh.p8642 3 жыл бұрын
i like ur voice
@ikhsanfadillah9689
@ikhsanfadillah9689 3 жыл бұрын
why youtube prevent me to like this video more than one like -__-
@kunalmathur4890
@kunalmathur4890 3 жыл бұрын
Vs code theme ??
@iamdeveloper2580
@iamdeveloper2580 3 жыл бұрын
what about getInitialProps?
@codedamn
@codedamn 3 жыл бұрын
It is deprecated and you can work without it too
@ridl27
@ridl27 3 жыл бұрын
code pls 🙏🏻
@andreas7181
@andreas7181 3 жыл бұрын
Good
@codedamn
@codedamn 3 жыл бұрын
Thank you member 😄
@sunris3919
@sunris3919 3 жыл бұрын
Pls Mehul post your nextjs project on youtube 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 жыл бұрын
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 жыл бұрын
nest.js bhai ... nest.js .....
@codedamn
@codedamn 3 жыл бұрын
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.
@DEV_XO
@DEV_XO 3 жыл бұрын
Thank you!
@nurullahbaykara9772
@nurullahbaykara9772 3 жыл бұрын
Thanks
@codedamn
@codedamn 3 жыл бұрын
Welcome!
5 Advanced Next.js Concepts You Don't Wanna Miss 👀
58:01
Mehul - Codedamn
Рет қаралды 15 М.
Next js Tutorial for Beginners | Nextjs 13 (App Router) with TypeScript
1:02:55
Programming with Mosh
Рет қаралды 693 М.
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 120 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 117 МЛН
Applying clean architecture to my Next.js project
20:15
Web Dev Cody
Рет қаралды 75 М.
Does Deno 2 really uncomplicate JavaScript?
8:55
Beyond Fireship
Рет қаралды 369 М.
Theo Browne: Next.js is a backend framework
11:44
Vercel
Рет қаралды 158 М.
NextJS + State Management = Good Idea???
41:08
Jack Herrington
Рет қаралды 101 М.
Next.js For React Developers | Everything You Need To Know
28:57
Next.js Tutorial For Beginners
52:35
LearnWebCode
Рет қаралды 42 М.
React vs Angular in 2024
9:00
Kodaps Academy
Рет қаралды 58 М.
NextJS Course For Beginners - Routes, Fetching, SSR, SSG...
56:00
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН