NextJS Tutorial - All 12 Concepts You Need to Know

Поділитися
Вставка
  • Опубліковано 15 тра 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

КОМЕНТАРІ • 223

  • @airixxxx
    @airixxxx 6 місяців тому +14

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

  • @Dohzr
    @Dohzr 4 місяці тому +18

    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.

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

  • @EnesKab
    @EnesKab Місяць тому +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 !

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

  • @MikiStec
    @MikiStec 2 місяці тому +2

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

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

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

  • @LLikzy
    @LLikzy Місяць тому +3

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

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

  • @_di_su
    @_di_su 4 місяці тому +1

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

  • @voldemortvi4264
    @voldemortvi4264 6 місяців тому +3

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

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

  • @TheLondekZdroj
    @TheLondekZdroj 6 місяців тому +1

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

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

  • @vicez_
    @vicez_ 6 місяців тому +2

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

  • @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 3 місяці тому

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

  • @marvinotieno2194
    @marvinotieno2194 3 місяці тому +1

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

  • @mabillama
    @mabillama 6 місяців тому +2

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

  • @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 28 днів тому +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 21 день тому

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

  • @aryaajay
    @aryaajay 11 годин тому

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

  • @aryaamootaghi3248
    @aryaamootaghi3248 5 місяців тому +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.

  •  6 місяців тому +2

    Wow, this is really nice overview! Thanks!

  • @looming_
    @looming_ 6 місяців тому +1

    Eagerly awaiting your next course!

  • @deividasmacavariani8684
    @deividasmacavariani8684 6 місяців тому +8

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

  • @nasssty284
    @nasssty284 6 місяців тому +2

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

  • @JeanDidier
    @JeanDidier 5 місяців тому +1

    Appreciated the last deployment part. Thank you 🙏

  • @muaf8374
    @muaf8374 5 місяців тому +1

    From dev to production. Good tutorial.

  • @sahaneakanayaka3394
    @sahaneakanayaka3394 5 місяців тому +2

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

  • @ianc6418
    @ianc6418 5 місяців тому +1

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

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

  • @AlirezaGarshasbi-kr1on
    @AlirezaGarshasbi-kr1on 4 місяці тому +3

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

  • @jbundziow-pf8me
    @jbundziow-pf8me Місяць тому +1

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

  • @user-mp4de7iv3k
    @user-mp4de7iv3k 10 днів тому +1

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

  • @JosephMaramba
    @JosephMaramba 6 місяців тому +1

    I thoroughly enjoyed this, superb quality

  •  5 місяців тому

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

  • @asfandyar8088
    @asfandyar8088 6 місяців тому +1

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

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

  • @prosperzegue6735
    @prosperzegue6735 2 місяці тому +3

    I don't often comment tutorial or any UA-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!

  • @MrGuitarguru95
    @MrGuitarguru95 3 місяці тому +1

    Wonderful overview! Thank you!! 🎉

  • @mosatsoni4324
    @mosatsoni4324 4 місяці тому +1

    Awesome video with great examples and clear explanation!

  • @geianmarkdenorte9874
    @geianmarkdenorte9874 2 місяці тому +1

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

  • @deepmane5845
    @deepmane5845 5 місяців тому +1

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

  • @khaledsanny4817
    @khaledsanny4817 6 місяців тому +1

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

  • @techlearner-hs3ft
    @techlearner-hs3ft 3 дні тому +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😁

  • @sagarbsable
    @sagarbsable 6 днів тому +1

    Great Explaination man, on point.

  • @salahiddinediouri280
    @salahiddinediouri280 6 місяців тому +1

    Great share , thank you for another good video as always

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

  • @CarlosReyes-ku6ub
    @CarlosReyes-ku6ub Місяць тому +1

    DUDE, this content is SAVAGE, respect ++ subscribed

  • @akramnarejo6221
    @akramnarejo6221 Місяць тому +2

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

  • @joantsyn7578
    @joantsyn7578 7 днів тому +1

    thx for good explanations!👍

  • @dovahkiin3362
    @dovahkiin3362 6 місяців тому +1

    im excited about the react next course

  • @developerisa
    @developerisa 15 днів тому +1

    the video i was looking for. Simple !

  • @diegofelipe91
    @diegofelipe91 6 місяців тому +2

    I need this new next's course!!

  • @udaym4204
    @udaym4204 3 місяці тому +1

    best video on nextjs thanks BytGrad

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

  • @0xAndy
    @0xAndy 5 місяців тому +1

    The caching explanation was 👌🏼

  • @captainnoyaux
    @captainnoyaux 5 місяців тому +2

    Wow, awesome video, thanks !

  • @youssefaserrar2001
    @youssefaserrar2001 6 місяців тому +1

    Bro you are the goat of NextJs

  • @amanrubey
    @amanrubey 3 місяці тому +1

    My God I absolutely love your channel!

  • @MdNaimurRahmanHera
    @MdNaimurRahmanHera 2 місяці тому +1

    This is an awesome course. Thanks

  • @anzo.p
    @anzo.p Місяць тому +1

    The best kind of tutorial

  • @reiniervarkevisser
    @reiniervarkevisser 6 місяців тому +2

    Thanks for this nice post.

  • @medouadjihboudraa7706
    @medouadjihboudraa7706 5 місяців тому +1

    best explanation i have ever witnessed

  • @vanhungnguyen7543
    @vanhungnguyen7543 2 місяці тому +1

    Useful video. Thanks

  • @user-gu1lc7wl2c
    @user-gu1lc7wl2c 6 місяців тому +1

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

  • @KrokodilShnap
    @KrokodilShnap 5 місяців тому +1

    This video is awesome! Thank you

  • @OldemiroAmericoBaloi
    @OldemiroAmericoBaloi 2 місяці тому +1

    This is just amazing.

  • @pedrofigueiredo5548
    @pedrofigueiredo5548 6 місяців тому +1

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

  • @hurleywflow2227
    @hurleywflow2227 6 місяців тому +1

    Love it 😊

  • @rayevo8mr209
    @rayevo8mr209 3 місяці тому +1

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

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

  • @lidlplayer007
    @lidlplayer007 3 місяці тому

    Nice video thanks for your work ❤

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

  • @KevinRamirez-vw5kv
    @KevinRamirez-vw5kv 2 місяці тому +1

    You sir are awesome.

  • @iuashrafi
    @iuashrafi 4 місяці тому +1

    great content !! thankyou

  • @prashlovessamosa
    @prashlovessamosa 6 місяців тому +2

    Thank you.

  • @Beardyman5617
    @Beardyman5617 Місяць тому +1

    Finally!! Thanks

  • @salamandr4111
    @salamandr4111 5 місяців тому +1

    such a great video!

  • @gyros9162
    @gyros9162 5 місяців тому +1

    definitely put this into bookmarks

  • @nogafouz2174
    @nogafouz2174 6 місяців тому +1

    thanks alot you are super teacher

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

  • @davidhendriksen
    @davidhendriksen 2 місяці тому

    Thanks for the interesting video! Quick question regarding the Image component and pulling images from an API. Thing is, I don't have the image dimensions upfront. Any ideas on how to deal with the width prop requirement? Should I chat up the backend team to add width and height to the API response, or is there a workaround you'd suggest?

  • @toastrecon
    @toastrecon 6 місяців тому +2

    One week until the course drops!!

    • @ByteGrad
      @ByteGrad  6 місяців тому +1

      Get ready! 👍 :)

  • @phronessys
    @phronessys 4 місяці тому +1

    thank you, so much better than the docs

  • @alexg7282
    @alexg7282 5 місяців тому +1

    Very usefull ! Thanks a lot

  • @collinsk8754
    @collinsk8754 5 місяців тому +1

    Excellent 👍👍!

  • @TYTAX_HOME_GYMS
    @TYTAX_HOME_GYMS 5 місяців тому +1

    My english is not perfect so I had to slow down video till 0.75 :) To understand everything. Great tutorial.

  • @ambantis
    @ambantis 5 місяців тому +1

    this is really awesome, thank you ... any chance you could make the code public?

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

  • @paweczajkowski2176
    @paweczajkowski2176 4 місяці тому

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

  • @georgejoseph2601
    @georgejoseph2601 4 місяці тому +1

    what a banger tutorial

  • @C9Sid
    @C9Sid 2 місяці тому +1

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

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

  • @ipeerless6717
    @ipeerless6717 Місяць тому +1

    what a smart man!

  • @grif.n
    @grif.n 6 місяців тому

    Can we use react-query or useSWR with server actions? Can server actions be used without a form?

  • @inzendis
    @inzendis 6 місяців тому +2

    Is PM2 not needed? Also making the website or webapp HTTPS would be cool to see or setting up a basic firewall there. I know I could look for it elsewhere, but you are one of the best. I learn fast and clear with you.

    • @ByteGrad
      @ByteGrad  6 місяців тому +2

      Yeah you can make that much more sophisticated

  • @rami_atallah
    @rami_atallah 4 місяці тому +1

    This video is amazing