NextJS Tutorial - All 12 Concepts You Need to Know

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 2024
  • Learn Next.js quickly...
    Also check out Hostinger's Black Friday deal at hostinger.com/bytegrad with discount code BYTEGRAD
    Full transparency: I get a commission if you buy something from Hostinger through that link. VPS-hosting for Next.js apps can be a good option if you are already familiar with server / VPS setup.
    Hi, I'm Wesley. I'm a brand ambassador for Kinde.
    👉 NEW React & Next.js Course: bytegrad.com/courses/professi...
    👉 Professional JavaScript Course: bytegrad.com/courses/professi...
    👉 Professional CSS Course: bytegrad.com/courses/professi...
    👉 Discord: all my courses have a private Discord where I actively participate
    🔔 Email newsletter (React + Next.js course out soon!): email.bytegrad.com
    All commands for deploying: gist.github.com/ByteGrad/7904...
    ⏱️ Timestamps:
    0:00 Intro
    0:29 Next.js fresh install
    2:33 Routing & navigation
    5:00 Metadata
    5:24 Styling: Tailwind CSS
    6:28 Hostinger's Black Friday deal
    7:35 Image component
    9:06 Client vs Server components
    11:54 Server actions
    16:55 Suspense and streaming
    21:11 Caching, static & dynamic rendering
    28:28 Middleware
    29:37 Folder structure
    31:43 Relax
    32:10 Static export
    33:10 Deployment options
    33:36 Push to GitHub
    33:52 Environment variables in Next.js
    35:50 Hostinger VPS deployment
    #webdevelopment #programming #coding

ความคิดเห็น • 225

  • @airixxxx
    @airixxxx 6 หลายเดือนก่อน +14

    Great as always, loved the mini deploy tutorial at the end.

  • @Dohzr
    @Dohzr 4 หลายเดือนก่อน +19

    Love your editing - very compact and to the point without any time wasting.

  • @heysahilsingh
    @heysahilsingh 6 หลายเดือนก่อน +15

    I’m following your channel from last 6 months, and honestly speaking content quality improved so well.

  • @mabillama
    @mabillama 6 หลายเดือนก่อน +2

    This is great value. Thanks for the effort and effective communication

  • @vicez_
    @vicez_ 6 หลายเดือนก่อน +2

    So thankful; Posted at the exact moment I needed it.

  • @TheLondekZdroj
    @TheLondekZdroj 6 หลายเดือนก่อน +1

    I am so looking forward to checking out your upcoming Next.js tutorial.

  • @voldemortvi4264
    @voldemortvi4264 6 หลายเดือนก่อน +3

    YES , YEEEES!! i was waiting for you to make a video about NextJS before i start it , thank you !

  • @_di_su
    @_di_su 4 หลายเดือนก่อน +1

    best tutorial i've ever watched for anything code related. very well done thank you

  • @havanapple5009
    @havanapple5009 5 หลายเดือนก่อน +7

    Was watching some tutorials from other channels and was having trouble processing it all. I was starting to think I was the problem, but then I came to this vid and it all makes perfect sense. Subscribed

  • @theleo2094
    @theleo2094 3 หลายเดือนก่อน

    CLEAR. DIRECT. OBJECTIVE. EXCELLENT. Wish every web dev tutorial on the Internet was like this!

  • @ScriptRaccoon
    @ScriptRaccoon 4 หลายเดือนก่อน +10

    I just LOVE the pace and editing here. As someone who is familiar with other frameworks it is very refreshing to not hear any boring old stuff but only what's essential and important.
    Surely the video is not accessible to beginners, but not every video has to be.
    I also noticed a lot of similarities with SvelteKit by the way.

  • @shortflicks83
    @shortflicks83 5 หลายเดือนก่อน +2

    OMG Man ! I am in love with this video. It helps me to revise all next JS concepts within an hour what an amazing explanation from you.

  •  6 หลายเดือนก่อน +2

    Wow, this is really nice overview! Thanks!

  • @MikiStec
    @MikiStec 2 หลายเดือนก่อน +2

    Best NextJS tutorial ever. Congrats, you've explained the basics and the simple way. Helped a lot!

  • @jasonpieters
    @jasonpieters 5 หลายเดือนก่อน +48

    I only got half way through the video and bought your course. Very well explained and the ability to demonstrate these concepts on top of just talking about them is awesome.

    • @ByteGrad
      @ByteGrad  5 หลายเดือนก่อน +3

      Awesome, thanks! 👍

    • @amanrubey
      @amanrubey 4 หลายเดือนก่อน

      I'm kind of a beginner who knows only basic React and still I enjoyed this video so so much!

  • @nayanbramhane8077
    @nayanbramhane8077 5 หลายเดือนก่อน +8

    came here to kickstart my nextjs learning path, you taught more than that, I loved the hosting part, you explained very well.
    I just loved your explanation 😍😍😍😍

  • @marvinotieno2194
    @marvinotieno2194 3 หลายเดือนก่อน +1

    I just came across this channel and its definitely making my life easy getting started with Next JS

  • @muaf8374
    @muaf8374 5 หลายเดือนก่อน +1

    From dev to production. Good tutorial.

  • @LLikzy
    @LLikzy หลายเดือนก่อน +3

    This is legit the best A-Z Next.js tutorial out there, thank you

  • @nasssty284
    @nasssty284 6 หลายเดือนก่อน +2

    Clear and understandable, just like all your other videos... keep up and tank you !

  • @looming_
    @looming_ 6 หลายเดือนก่อน +1

    Eagerly awaiting your next course!

  • @sahaneakanayaka3394
    @sahaneakanayaka3394 5 หลายเดือนก่อน +2

    Your tutorials are so amazing and helping a lot ... Thanks

  • @AlirezaGarshasbi-kr1on
    @AlirezaGarshasbi-kr1on 4 หลายเดือนก่อน +3

    it is short, straight and educative
    loved it
    thank you❤

  • @EnesKab
    @EnesKab 2 หลายเดือนก่อน +1

    I am at the half of the video yet, and as a beginner, I learned more than all tutorials I watched combined so far. The I was really super confused and struggling with the new concepts and NextJS. A bird's eye-view from someone who really knows his stuff is enlightening. Thank you !

  • @JeanDidier
    @JeanDidier 5 หลายเดือนก่อน +1

    Appreciated the last deployment part. Thank you 🙏

  • @asfandyar8088
    @asfandyar8088 6 หลายเดือนก่อน +1

    Thank you very much sir. All of your lectures are amazing!!!

  • @ianc6418
    @ianc6418 6 หลายเดือนก่อน +1

    thanks man. just starting with nextjs and react so this is great.

  • @JosephMaramba
    @JosephMaramba 6 หลายเดือนก่อน +1

    I thoroughly enjoyed this, superb quality

  • @KulturanCov
    @KulturanCov หลายเดือนก่อน +1

    Wow. Just wow. Seldom seen such a concise and clear video.
    Information like this is most often contained within 10x of the video size.
    Beautiful!

  • @aryaajay
    @aryaajay 3 วันที่ผ่านมา

    I'm addicted to your videos 😅, keep making them as I need daily multiple doses of them❤

  • @domenicocucinotta2720
    @domenicocucinotta2720 2 หลายเดือนก่อน +1

    Hey Man your tutorials are so explicative , clear and concise! Probably I wouldn't have followed you when I first started programming, but know with experience I can follow along easily and your method is spot on! ❤

  • @MrGuitarguru95
    @MrGuitarguru95 3 หลายเดือนก่อน +1

    Wonderful overview! Thank you!! 🎉

  • @MrBrady95
    @MrBrady95 2 หลายเดือนก่อน +9

    It's funny I've heard people say, "Tailwind eliminates the need for coming up with class names." Before, that didn't seem like a big deal, but it actually 'clicked' when watching this video. The mental energy that goes into coming up with good, consistent class names is no small thing, not to mention maintaining greater consistency in CSS across projects. Makes sense to save the creativity for when it's needed, thanks.

    • @xXxRK0xXx
      @xXxRK0xXx 2 หลายเดือนก่อน +3

      i feel like it takes more effort to look up tailwind css syntax than thinking of a classname...

    • @jibbish7148
      @jibbish7148 หลายเดือนก่อน +1

      For me it took about 2 weeks to learn all the tailwind classnames. Now I feel like I will never go back to vanilla css

    • @ustav_o
      @ustav_o 24 วันที่ผ่านมา

      once you start using it you will not ever want to go back

  • @AmodeusR
    @AmodeusR หลายเดือนก่อน +1

    This is really nice for someone liike me that couldn't practice Next.Js for the last months, having a quick review of essential concepts to know from NextJS. Thank you very much!

  • @mosatsoni4324
    @mosatsoni4324 5 หลายเดือนก่อน +1

    Awesome video with great examples and clear explanation!

  •  5 หลายเดือนก่อน

    You just delivered the holy grail I was looking for, Thanks a lot!!

  • @deividasmacavariani8684
    @deividasmacavariani8684 6 หลายเดือนก่อน +8

    I'm amazed how clear you make your topics. Thank you for very informative videos

  • @jbundziow-pf8me
    @jbundziow-pf8me หลายเดือนก่อน +1

    Nice explained core concepts. Thanks for the tutorial. Nice format!

  • @salahiddinediouri280
    @salahiddinediouri280 6 หลายเดือนก่อน +1

    Great share , thank you for another good video as always

  • @geianmarkdenorte9874
    @geianmarkdenorte9874 2 หลายเดือนก่อน +1

    I like it! short and compact knowledge shared. Thank you

  • @dovahkiin3362
    @dovahkiin3362 6 หลายเดือนก่อน +1

    im excited about the react next course

  • @Nurpie
    @Nurpie 5 หลายเดือนก่อน +3

    Your NextJs videos has a lot more views than others!
    It would be amazing if you could also make a tutorial on how to use supabase sso with it. I am a little lost and I like that you explain important points.

  • @sagarbsable
    @sagarbsable 8 วันที่ผ่านมา +1

    Great Explaination man, on point.

  • @joantsyn7578
    @joantsyn7578 9 วันที่ผ่านมา +1

    thx for good explanations!👍

  • @user-mp4de7iv3k
    @user-mp4de7iv3k 13 วันที่ผ่านมา +1

    wow that was anmazing tutorial, both next js stuff and how to deploy thing on server. Thanks a lot. subscribed !!

  • @techlearner-hs3ft
    @techlearner-hs3ft 6 วันที่ผ่านมา +1

    I wish you could make another video covering app router versus pages router, focusing on their folder structure. thx for the very clear explanation😁

  • @diegofelipe91
    @diegofelipe91 6 หลายเดือนก่อน +2

    I need this new next's course!!

  • @developerisa
    @developerisa 18 วันที่ผ่านมา +1

    the video i was looking for. Simple !

  • @udaym4204
    @udaym4204 3 หลายเดือนก่อน +1

    best video on nextjs thanks BytGrad

  • @CarlosReyes-ku6ub
    @CarlosReyes-ku6ub หลายเดือนก่อน +1

    DUDE, this content is SAVAGE, respect ++ subscribed

  • @anzo.p
    @anzo.p หลายเดือนก่อน +1

    The best kind of tutorial

  • @MdNaimurRahmanHera
    @MdNaimurRahmanHera 2 หลายเดือนก่อน +1

    This is an awesome course. Thanks

  • @reiniervarkevisser
    @reiniervarkevisser 6 หลายเดือนก่อน +2

    Thanks for this nice post.

  • @captainnoyaux
    @captainnoyaux 5 หลายเดือนก่อน +2

    Wow, awesome video, thanks !

  • @hurleywflow2227
    @hurleywflow2227 6 หลายเดือนก่อน +1

    Love it 😊

  • @khaledsanny4817
    @khaledsanny4817 6 หลายเดือนก่อน +1

    Waoh.... It's such a quality tutorial... I am literally unable to not understand almost "EVERYTHING" about NextJS.... +1 sub 😂💪

  • @0xAndy
    @0xAndy 6 หลายเดือนก่อน +1

    The caching explanation was 👌🏼

  • @user-gu1lc7wl2c
    @user-gu1lc7wl2c 6 หลายเดือนก่อน +1

    Thanks so much!!!!!! Pretty great video!

  • @vanhungnguyen7543
    @vanhungnguyen7543 2 หลายเดือนก่อน +1

    Useful video. Thanks

  • @OldemiroAmericoBaloi
    @OldemiroAmericoBaloi 2 หลายเดือนก่อน +1

    This is just amazing.

  • @deepmane5845
    @deepmane5845 5 หลายเดือนก่อน +1

    after watching so many videos of NextJs I found you just finished the video I can say All Clear

  • @prashlovessamosa
    @prashlovessamosa 6 หลายเดือนก่อน +2

    Thank you.

  • @amanrubey
    @amanrubey 4 หลายเดือนก่อน +1

    My God I absolutely love your channel!

  • @medouadjihboudraa7706
    @medouadjihboudraa7706 6 หลายเดือนก่อน +1

    best explanation i have ever witnessed

  • @youssefaserrar2001
    @youssefaserrar2001 6 หลายเดือนก่อน +1

    Bro you are the goat of NextJs

  • @KrokodilShnap
    @KrokodilShnap 5 หลายเดือนก่อน +1

    This video is awesome! Thank you

  • @jiayu0307
    @jiayu0307 หลายเดือนก่อน +6

    If I want to learn any front-end technique now, I first come to see if you have any videos. Your tutorials are perfect for me. It’s great.

    • @ByteGrad
      @ByteGrad  หลายเดือนก่อน

      Happy to hear that!

  • @prosperzegue6735
    @prosperzegue6735 2 หลายเดือนก่อน +3

    I don't often comment tutorial or any TH-cam video but this Next.js tutorial video's quality is very high from A to Z. Thank you so much. You are amazing !!!

    • @ByteGrad
      @ByteGrad  2 หลายเดือนก่อน

      Glad it helped!

  • @HunterBBQ
    @HunterBBQ 3 หลายเดือนก่อน +1

    This is very very good video with very detailed and very clear on each and everything you try to share with us❤.
    Thank so much for your efforts

  • @nogafouz2174
    @nogafouz2174 6 หลายเดือนก่อน +1

    thanks alot you are super teacher

  • @KevinRamirez-vw5kv
    @KevinRamirez-vw5kv 2 หลายเดือนก่อน +1

    You sir are awesome.

  • @lidlplayer007
    @lidlplayer007 3 หลายเดือนก่อน

    Nice video thanks for your work ❤

  • @iuashrafi
    @iuashrafi 5 หลายเดือนก่อน +1

    great content !! thankyou

  • @salamandr4111
    @salamandr4111 5 หลายเดือนก่อน +1

    such a great video!

  • @phronessys
    @phronessys 4 หลายเดือนก่อน +1

    thank you, so much better than the docs

  • @Beardyman5617
    @Beardyman5617 หลายเดือนก่อน +1

    Finally!! Thanks

  • @collinsk8754
    @collinsk8754 5 หลายเดือนก่อน +1

    Excellent 👍👍!

  • @alexg7282
    @alexg7282 6 หลายเดือนก่อน +1

    Very usefull ! Thanks a lot

  • @oludamolaijimade9018
    @oludamolaijimade9018 2 หลายเดือนก่อน +1

    I needed to pause this video to find out the genius behind it. I love this tutorial and I am definitely getting your course.

    • @ByteGrad
      @ByteGrad  2 หลายเดือนก่อน

      Awesome, thanks! :)

  • @georgejoseph2601
    @georgejoseph2601 4 หลายเดือนก่อน +1

    what a banger tutorial

  • @aryaamootaghi3248
    @aryaamootaghi3248 6 หลายเดือนก่อน +5

    This guy is one of the very few best devs on nextjs I have ever seen with really clear delivery and the background on the topics. completely the opposite of indian toturials.
    keep up the great work.

  • @ipeerless6717
    @ipeerless6717 หลายเดือนก่อน +1

    what a smart man!

  • @najneindustrijaliziraniji
    @najneindustrijaliziraniji 4 หลายเดือนก่อน +2

    This could easily be an excellent six-hour Udemy course. Perhaps it's recency bias, but this is the best crash course I have ever seen. And i say that as an expert because for a long time, I've only watched crash courses :P

  • @rami_atallah
    @rami_atallah 4 หลายเดือนก่อน +1

    This video is amazing

  • @gyros9162
    @gyros9162 5 หลายเดือนก่อน +1

    definitely put this into bookmarks

  • @nademkhan931
    @nademkhan931 6 หลายเดือนก่อน +1

    Excellent

  • @paweczajkowski2176
    @paweczajkowski2176 5 หลายเดือนก่อน

    U have very pretty diction and Your language is very clear.Its soo important for people from other countries . greetings

  • @userre85
    @userre85 หลายเดือนก่อน +2

    Even sat through the sponsor segment.

  • @pedrofigueiredo5548
    @pedrofigueiredo5548 6 หลายเดือนก่อน +1

    i was impatiently waiting for youir next video (no pun intended ) amazing as always

    • @ByteGrad
      @ByteGrad  6 หลายเดือนก่อน

      Haha great!

  • @rayevo8mr209
    @rayevo8mr209 3 หลายเดือนก่อน +1

    Great video, how can you perform more than one crud operation on the use optimistic?

  • @ByteGrad
    @ByteGrad  6 หลายเดือนก่อน +17

    My Professional React & Next.js course is OUT NOW now! Find it here: bytegrad.com/courses/professional-react-nextjs -- this is the #1 resource to master the latest React & Next.js, my absolute best work.

    • @user-bk5qt2sd2v
      @user-bk5qt2sd2v 6 หลายเดือนก่อน

      Can't wait :D Thank you for the great content you provide us with.

    • @kevinnguyen238
      @kevinnguyen238 5 หลายเดือนก่อน +1

      Will the nextjs course be Next 14?

    • @ByteGrad
      @ByteGrad  3 หลายเดือนก่อน

      @@kevinnguyen238 Yes, all the latest and greatest is in there :)

  • @akramnarejo6221
    @akramnarejo6221 2 หลายเดือนก่อน +2

    After watching for a few seconds I double checked my player speed settings. literally you're very smooth and conveying 100%.

  • @miriammulders2341
    @miriammulders2341 2 วันที่ผ่านมา +1

    I am really impressed by the quality and the conciseness of your tutorials. Everything is so well explained and to the point. As if you can read my thoughts. One question though. I haven't seen you talking about Route Handlers, in the special route files that NextJS offers. It seems an essential concept in NextJs, so why did you skip it? Will it be in your course though?

    • @ByteGrad
      @ByteGrad  2 วันที่ผ่านมา +1

      Thanks! They’re in the course yes, mostly used for webhooks these days

  • @toastrecon
    @toastrecon 6 หลายเดือนก่อน +2

    One week until the course drops!!

    • @ByteGrad
      @ByteGrad  6 หลายเดือนก่อน +1

      Get ready! 👍 :)

  • @0x-003
    @0x-003 5 หลายเดือนก่อน +2

    Can you make more nextjs beginners video, where you teach us stuff, am a frontend dev student. and I really want to become good

  • @C9Sid
    @C9Sid 2 หลายเดือนก่อน +1

    Please make a video on CRUD APPLICATION using latest next 14 and tailwind css. Love from India 🇮🇳❤

  • @Nurpie
    @Nurpie 5 หลายเดือนก่อน +1

    Thanks!

    • @ByteGrad
      @ByteGrad  5 หลายเดือนก่อน

      Thanks, appreciate it!

  • @jorden123
    @jorden123 3 หลายเดือนก่อน

    I really like your explanation about those core subjects, and I got some questions:
    1. It looks like it's always going to be redundant to have the PostgreSQL commands right in the components, that's why I think a better solution would be to wrap them up in an MVC pattern with business-logics and modules. What do you think?
    2. From a DevOps engineer perspective, how would you scale it? It would be much easier to scale it if we have the "server" apart from the "client" and have them communicate by REST-API. That way you can scale the server as much as you want (which is more likely to be under a heavier load than the "client").
    I'm currently working on a side project that is using Next.js in the client side with some server-actions that use "REST-API" and call another server that handles the DB, implemented with MVC design-pattern. In the server side, all of my DB modules are being re-used by different business-logics that can be complicated, therefore MVC saves the day by making it a little easier.

  • @olusanyaolamide9764
    @olusanyaolamide9764 4 หลายเดือนก่อน +2

    Thank you so much for this video, although I'm still a bit confused about the caching, if you didn't talk about it and someone new to nextJs 13 eventually build the app and he finds that the dev mode and build mode are different, it can cause someone to run mad

  • @brondchux
    @brondchux 5 หลายเดือนก่อน

    Great NextJs overview 🎉 One question tho: In 32:37 What’s the name of your intellicence? The VS Code extension that suggests the code autocompletion?
    Thank you