Learn NextJS using the Full Stack Developer Roadmap on codedamn and build over 25 Projects: bit.ly/fullstack-codedamn
@mymusicloversworld2 жыл бұрын
I am New to nextjs..best explanation I have found so far. Thank You!
@faraonch2 жыл бұрын
Even as an experienced NextJS user it took a lot out of it. You explain quite well!
@CodingNuggets3 жыл бұрын
Dude, you always come out with some of the best videos. Love what you're doing.
@codedamn3 жыл бұрын
I appreciate that!
@CodingNuggets3 жыл бұрын
@@codedamn Always my friend! 😁
@JanneKalliokulju3 жыл бұрын
Totally agree with Coding Nuggets. It has been a pleasure to follow your Next.js videos
@jerryhogan30243 жыл бұрын
when you used codedamn as a query it overwrote it because object keys a unique. So, it wasn't a bug. You are awesome!!!
@uwemisrael58362 жыл бұрын
Thanks for this extensive explanation. I found it really helpful.
@ilmanmanarulqori56322 жыл бұрын
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👍🏻
@jesusidev3 жыл бұрын
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_3 жыл бұрын
You can put it in src if you want to. I do, and prefer it that way 👍
@aestheticallyamazing20033 жыл бұрын
I'm truly amazed on dynamic loading
@rconr0073 жыл бұрын
Thank you again, for another kick-ass tutorial. Wondering if you can create a CLEAN CODE video and best practices.
@snaplu46833 жыл бұрын
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
@yourManLan3 жыл бұрын
You're REALLY good at explaining this stuff...
@anooppk23413 жыл бұрын
This is the best tutorial on nextjs data fetching🙏
@drmacsika3 жыл бұрын
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.
@bhatvikrant3 жыл бұрын
This is awesome! Can you also cover other libraries used with next, like react-query, GraphQL etc... Would be great
@codedamn3 жыл бұрын
That is going to be part of React Mastery learning path and Next.js Mastery on codedamn.com, soon!
@tokenattainer71153 жыл бұрын
@@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'.
@anooppk23413 жыл бұрын
The explanation on revalidate parameter was excellent
@codedamn3 жыл бұрын
Glad you understood!
@adamrolczyk72172 жыл бұрын
Fantastic tips, learned a lot! Thank you!
@CarloRizzante3 жыл бұрын
Great intro to Next js, thank you!
@venicebeachsurfer3 жыл бұрын
This isn't an "advanced" course, just an intro?
@shantanupatil32523 жыл бұрын
Really amazing content. Didnt find any tutorial as in depth as this one.
@rohan70113 жыл бұрын
Best next js tutorial
@sbrabs3 жыл бұрын
This was fantastic, thanks for helping me dive a bit deeper. Loved the explanation for revalidate, awesome!
@SEBASdoELECTRICSLIDE2 жыл бұрын
This was great! Really well thought out explanations! I learned a lot thanks :D
@rajaj60433 жыл бұрын
You're awesome bro!. Learnt a lot!!!
@alexanderveprik33313 жыл бұрын
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.
@WolfManThoughts3 жыл бұрын
Bro, Kool Stuff! Awesome! Keep up the great work!
@jimshtepa54233 жыл бұрын
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?
@codedamn3 жыл бұрын
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.
@jimshtepa54233 жыл бұрын
@@codedamn understood, thank you!
@royz_12 жыл бұрын
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.
@sarbjotsingh99982 жыл бұрын
Great content. Can you talk about deployment options available and downsides of scaling with next.js?
@raihankg3 жыл бұрын
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.
@codedamn3 жыл бұрын
Will keep in mind, thanks!
@emmanuelugwuoke9672 жыл бұрын
This is a great video!
@zkhan19952 жыл бұрын
thanks for explaining revalidate
@mediocre71993 жыл бұрын
i'm really excited for this ❤️
@kunalmathur48903 жыл бұрын
Awesome 🔥
@HolmesPatrick3 жыл бұрын
Your teaching is awesome, may you please make one video for crud operation using api , micro service type. That would be great
@demarco69673 жыл бұрын
thanks man. you explained this so well❤️❤️🔥
@laxmangiri55113 жыл бұрын
thanks for this tut
@codedamn3 жыл бұрын
You're welcome!
@Codewithsiaa3 жыл бұрын
I really enjoyed, thanks so much
@HarshalHirve5553 жыл бұрын
Thank you so much for this video. Much appreciated.
@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 ??
@yashchauhan57103 жыл бұрын
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.exe13 жыл бұрын
Hi Mahul Bhaiya.. Thanks for the advanced tutorial. can I use react context hooks inside getServerSideProps()?
@phamvanhan70373 жыл бұрын
Thank you very much!
@irsyadadl3 жыл бұрын
Let start looting. Thank you 👍
@sai_charan3 жыл бұрын
Thank you, Mehul!
@codedamn3 жыл бұрын
Welcome!
@avimehenwal3 жыл бұрын
Wow! this video is a GEM
@sayed18213 жыл бұрын
If getstaticprops can now re validate. Then when should i use getServerSide props
@manishthomas3413 жыл бұрын
Great Video...!!! You're really amazing
@codedamn3 жыл бұрын
Thank you!
@jimshtepa54232 жыл бұрын
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?
@emmanuelugwuoke9672 жыл бұрын
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
@jimshtepa54232 жыл бұрын
@@emmanuelugwuoke967 Thank you, Emmanuel
@bakbak18303 жыл бұрын
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 Жыл бұрын
Would it be possible to update this video by using Next.js 13? Thank you
@gladsmedeveloper95362 жыл бұрын
36:13 It is not bug. Because, JavaScript object can't have two properties with same name.
@adityasaxena73743 жыл бұрын
How can I add loaders on page with fallback set to "blocking" ?
@Vishnuvamsipilla Жыл бұрын
bro i want to learn next js only not full stack can you give the link for next js i will buy that.
@BonBonInoc3 жыл бұрын
when should you only use dynamic import?
@naman_dw2 жыл бұрын
8:22 If it doesnt use JS to include env variables, then how exactly does it include them?
@RukhsarManzoor3 жыл бұрын
Can you please share your vscode settings also which theme you are using? Looks awesome
@MaxProgramming3 жыл бұрын
I think the theme is Monokai or something related to Monokai
@pranavpatil58493 жыл бұрын
Can we implement env profiling like sit uat urls in Nextjs ?
@farhanfarooq3 жыл бұрын
Is there any work around to make next/image work with next export? Build is crashing
@raysash4300 Жыл бұрын
WHERE CAN I GET A LENGTHIER VERSION OF THIS COURSE?
@raviraval67143 жыл бұрын
Omg awsome
@phemartin3 жыл бұрын
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!
@codedamn3 жыл бұрын
getStaticPaths is just a helper method available to work with getStaticProps. Your "id" will be received in getStaticProps
@beyondcode_3 жыл бұрын
Can you add a tutorial for nextjs with redux setup
@georgestatefield3 жыл бұрын
@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
@mithunreddy75163 жыл бұрын
Nextjs is not working for me. Can someone explain the internal server error it suddenly gets collapsed. What to do on this?
@josbexerr51663 жыл бұрын
Gracias mister......saludos de los andes peruanos
@codedamn3 жыл бұрын
Gracias. No hablo español, pero traduzco Google para ganar.
@devaview58833 жыл бұрын
Thanks
@leanprogrammer3 жыл бұрын
How do you manage state in the complete course?
@codedamn3 жыл бұрын
Which state?
@leanprogrammer3 жыл бұрын
@@codedamn application state. I've seen there an e-commerce app.. Do you use graphql + Apollo or RESTful API + Redux?
@georgeokello86202 жыл бұрын
@@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
@georgeokello86202 жыл бұрын
@@leanprogrammer Graphql changes the representation of the protocol that is going to be consumed by multiple client applications.
@ariseawake34373 жыл бұрын
Super
@bilalashraf67043 жыл бұрын
can u help me protecting routes using context in nextjs?
@fahimalif40683 жыл бұрын
name of the vscode theme??
@vapeurdepisse2 жыл бұрын
velcome!
@dinesh.p86423 жыл бұрын
i like ur voice
@ikhsanfadillah96893 жыл бұрын
why youtube prevent me to like this video more than one like -__-
@kunalmathur48903 жыл бұрын
Vs code theme ??
@iamdeveloper25803 жыл бұрын
what about getInitialProps?
@codedamn3 жыл бұрын
It is deprecated and you can work without it too
@ridl273 жыл бұрын
code pls 🙏🏻
@andreas71813 жыл бұрын
Good
@codedamn3 жыл бұрын
Thank you member 😄
@sunris39193 жыл бұрын
Pls Mehul post your nextjs project on youtube pls
@kaustav073 жыл бұрын
Someone please tell me the VSCODE theme in this video.
@codedamn3 жыл бұрын
Monokai Dark
@kaustav073 жыл бұрын
@@codedamn Thank you.
@skipmonday64673 жыл бұрын
What about subdomain
@codedamn3 жыл бұрын
Can you elaborate more?
@skipmonday64673 жыл бұрын
@@codedamn I am just asking if you can make a video on how to handle sub domain routing with next js
@arupde63203 жыл бұрын
nest.js bhai ... nest.js .....
@codedamn3 жыл бұрын
I'll get my hands on with it, then you can expect some content ;)
@Systemx933 жыл бұрын
I dont see what's advanced about this course
@anthonyramsey59883 жыл бұрын
I'd never heard of Jawa script before... very interesting and looks a lot like Javascript.