Next.js in 100 Seconds // Plus Full Beginner's Tutorial

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 4. 01. 2021
  • Learn the basics of Next.js in 100 Seconds! Then build your first server-rendered react app with a full Next.js beginner's tutorial. fireship.io/courses/react-nex...
    #react #webdev #100SecondsOfCode
    Next.js Docs nextjs.org/
    Source Code github.com/fireship-io/nextjs...
    Install the quiz app đŸ€“
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
  • Věda a technologie

Komentáƙe • 588

  • @mattskelton7471
    @mattskelton7471 Pƙed 3 lety +1357

    Is it just me, or is it hard to keep up with the rapidly evolving front-end world?

    • @maevshadowsong
      @maevshadowsong Pƙed 2 lety +70

      u r not alone

    • @mokv9889
      @mokv9889 Pƙed 2 lety +305

      Backend dev here who is trying to enter the frontend world. It's a disaster.

    • @jakub7048
      @jakub7048 Pƙed 2 lety +186

      @everyoneAbove: lol it's reckless to catch up with all these unnecessary technologies, just focus on react and master it

    • @gabrodriguesc
      @gabrodriguesc Pƙed 2 lety +25

      @@jakub7048 this

    • @mikelisrael5627
      @mikelisrael5627 Pƙed 2 lety

      😂😂

  • @kocraft137
    @kocraft137 Pƙed 3 lety +205

    I just love the "Beyond 100 seconds" stage. You have nice pace in your video

  • @brintmontgomery8323
    @brintmontgomery8323 Pƙed rokem +112

    These 100 sec. videos are pure gold if a person (like me) has never run across the topic at hand.

    • @simracingsemantics9821
      @simracingsemantics9821 Pƙed rokem +2

      I'm in my capstone class right now and deciding what languages and frameworks to use in our project we've just been sharing these videos with each other as like a "pitch". never even knew any of them watched these videos but we all do apparently

    • @SaraSohail-en2me
      @SaraSohail-en2me Pƙed rokem

      Bruh

    • @mohamedsalimbensalem6118
      @mohamedsalimbensalem6118 Pƙed rokem

      @@SaraSohail-en2me xd

  • @codinginflow
    @codinginflow Pƙed 2 lety +87

    I'm rewriting my website from vanilla React to NextJS and I love it so far. Many things are much better thought-out.

    • @hiteshchalise3988
      @hiteshchalise3988 Pƙed 2 lety +6

      It is good to see your name crop in the comment section of youtube videos every now and then. :)

  • @FidelGuajardo
    @FidelGuajardo Pƙed 3 lety +122

    Jeff has a special talent for teaching and if he does his own videos, then he also has the skills for doing excellent videos!!! I consider him to be one of my top 5 all-time best tech teachers.
    Thank you, Jeff.

    • @LouisDuran
      @LouisDuran Pƙed rokem +1

      who are some of the others in the top 5?

    • @LouisDuran
      @LouisDuran Pƙed rokem +1

      PS. Jeff's videos are awesome

    • @GreenZapperZ
      @GreenZapperZ Pƙed rokem +2

      @@LouisDuran I gotta say, Web Dev Simplified (Mainly JavaScript) and Kevin Powell (Only makes videos on CSS) both make really good educational programming videos. Highly recommend them if you haven't seen them already.

  • @sirinajberi9433
    @sirinajberi9433 Pƙed 3 lety +9

    Short, rich, straight to the point video ! just what I needed, thanks !

  • @nate1988
    @nate1988 Pƙed 2 lety +57

    Seems like I'm going to be doing at my React projects as Next.js now. I really can't see a reason not to default to using it. Great video -- it's been nice coming back over the months and going from confusion to understanding.

    • @david_sanchez
      @david_sanchez Pƙed rokem +6

      1 reason to not default to Next is when building something like a CRM. Web indexers don’t need (and shouldn’t have) access to the private data in a CRM web app. In cases like this, a client-side React app is perfectly sufficient.

  • @rosecancode9455
    @rosecancode9455 Pƙed 3 lety +6

    I feel like I just learnt a new tech. Thanks so much. I just heard next today and I already have a comprehensive understanding of it after watched this.

  • @muhammadsami479
    @muhammadsami479 Pƙed 3 lety +403

    Rust in 100 seconds đŸ”„đŸ”„

    • @akrbor
      @akrbor Pƙed 3 lety +5

      Yes!

    • @Fireship
      @Fireship  Pƙed 3 lety +164

      Someday, I've been slowly learning Rust for the past 2 years.

    • @architbhonsle7356
      @architbhonsle7356 Pƙed 3 lety +11

      Bruh Rust... In 100 seconds.... 🙂

    • @Nexus-rt1bm
      @Nexus-rt1bm Pƙed 3 lety +1

      YESSSS

    • @darkfire2703
      @darkfire2703 Pƙed 3 lety +5

      Hahahahaha good one mate 😂

  • @Felipe-pb9gu
    @Felipe-pb9gu Pƙed 3 lety +60

    it would be great if you include SWR in this course, I think is a good match with next/firebase, makes caching and other things a lot easier. Vercel hosting is a nice feature too.

  • @juancarlosqr
    @juancarlosqr Pƙed 3 lety +20

    Joining fireship for the Next.JS & Firebase course!!! đŸ”„đŸ”„đŸ”„ Can't wait!

    • @Anto-xh5vn
      @Anto-xh5vn Pƙed 2 lety

      @@godwinebikwo6544 I would be surprised if anyone actually helped you :)

  • @justintaddei
    @justintaddei Pƙed 3 lety +1

    Exactly what I needed! I just started a project with Next.js yesterday

  • @mulwelimushiana8388
    @mulwelimushiana8388 Pƙed 2 lety

    Been watching Nextjs tutorials all over the internet but this is by far the best I have ever seen đŸ”„đŸ”„đŸ”„đŸ”„

  • @Kharismyafi
    @Kharismyafi Pƙed rokem +2

    Like the videos, just want to add,
    SSG can be used for highly dynamic sites, see the entire genre of Jamstack development but basically you can use API calls to display new data on static pages. (static sites could also use js to do animations and 'non static' stuff)

  • @MiniKodjo
    @MiniKodjo Pƙed 3 lety +3

    we started from client-side rendering (static pages) to all server-side with PHP to all client-side with JS frameworks and now back to server-side rendering

  • @abedabdesselem9491
    @abedabdesselem9491 Pƙed 2 lety +1

    Thanks for the tutorial, well explained and straight forward, helped me a lot since I just started working on web development

  • @codeSTACKr
    @codeSTACKr Pƙed 3 lety +281

    đŸ”„đŸš€

  • @SuprunAlexey
    @SuprunAlexey Pƙed 3 lety +304

    Next js is the best way to create fast site in a few hours. You need just basic knowledge of JavaScript and react. 💡💡💡

    • @unomas9686
      @unomas9686 Pƙed 3 lety +1

      КаĐșĐžĐŒĐž ŃŃƒĐŽŃŒĐ±Đ°ĐŒĐž ?

    • @hijazi479
      @hijazi479 Pƙed 3 lety +36

      Not basic but intermediate level knowledge of react

    • @gamerdude736
      @gamerdude736 Pƙed 3 lety +3

      Nuxt.js: am i joke to you

    • @CruzMonrreal
      @CruzMonrreal Pƙed 3 lety +5

      Best is highly subjective, especially since text files would work just as well for Static Sites...

    • @saintshing
      @saintshing Pƙed 3 lety

      Is there a reason to learn Gatsby over Next?

  • @MaxProgramming
    @MaxProgramming Pƙed 3 lety +38

    What a surprise I got! I requested it and I got it! Thanks Fireship!

  • @vitorgouveia5378
    @vitorgouveia5378 Pƙed 3 lety +1

    The first time I heard about next.js was YESTERDAY, and TODAY you bring me this video, I'm starting to think you really read some minds

  • @NabilTharwat_
    @NabilTharwat_ Pƙed 3 lety +11

    I'm about to make a video (in Arabic) about building a Next blog and this just motivated me more! Informational and straight to the point, as always!

  • @leanprogrammer
    @leanprogrammer Pƙed 3 lety +3

    Impatiently waiting for the full course 😃

  • @Moochers
    @Moochers Pƙed 2 lety +5

    Started learning JS about a month ago. I understood about 20% of this video and stopped about half way. Still have a few weeks left in my course then a few more weeks more to complete my react course. This is just a reminder to myself to see if understand more next time I watch this.

    • @duppy404
      @duppy404 Pƙed rokem +4

      Well it's been 8 months do you understand the tutorial now?

  • @tylersustare
    @tylersustare Pƙed 3 lety +6

    Love it! Ruby on Rails in 100 seconds 💎

  • @9Steff99
    @9Steff99 Pƙed 3 měsĂ­ci +5

    why is the folder structure of my next app completely different? has nextjs really changed that much in 3 years?

  • @Gohel95
    @Gohel95 Pƙed 3 lety +2

    Thanks, Man...
    That was a quick and crisp introduction.
    💕💖💕💖

  • @JayPerf
    @JayPerf Pƙed 3 lety

    amazing work, as always - thanks Jeff!

  • @mehedihassanome4688
    @mehedihassanome4688 Pƙed rokem +2

    I find this guys voice highly therapeutic, for some reason its enjoyable...

  • @danielcallaghan6892
    @danielcallaghan6892 Pƙed 2 lety +24

    im drunk and this makes no sense ! woooooooooooooooooooo!

  • @stapia505
    @stapia505 Pƙed 3 lety

    Literally after deploying my next js app sweet timing!!

  • @SirDamatoIII
    @SirDamatoIII Pƙed 3 lety +1

    No way, I have been digging into this the past week. Would love NuxtJs as a Pro Course.

  • @manavendrasen
    @manavendrasen Pƙed 3 lety

    Loving the 100s + tutorial vids!!

  • @1_PieceOfCode
    @1_PieceOfCode Pƙed rokem

    2:24 I was not going to try it now but this line did it for me. love you work man

  • @hajimohammed968
    @hajimohammed968 Pƙed 3 lety +5

    Thanks Jeff. How does implement real-time data fetching in next with firebase? Also, how do we deal with cloud functions? And would deploying to vercel be the better choice?

  • @mitch7w
    @mitch7w Pƙed 3 lety +1

    Great intro to the framework. Thanks!

  • @Philson
    @Philson Pƙed rokem +4

    Best few minutes of my life.

  • @Mr.Andrew.
    @Mr.Andrew. Pƙed 3 lety +5

    I'd be interested in finding out how to serve part of a site in next and another part in React. As for modern webapps in a privacy aware era, there are many things you'd want to exclude from web crawlers without destroying seo optimization.

  • @PapaFranciscoOk
    @PapaFranciscoOk Pƙed 3 lety

    im starting to fall in love with this channel

  • @jamesmalarkey7437
    @jamesmalarkey7437 Pƙed 3 lety

    That's what I was looking for. Thanks so much.

  • @auchucknorris
    @auchucknorris Pƙed 3 lety

    perfect! after dabbling with wordpress, one thing i thought was actually an improvement on react was how the server created the page before sending it out.

  • @technicalfriend15
    @technicalfriend15 Pƙed 3 lety +3

    Was looking for this and your video dropped in notifications.

  • @punsmith
    @punsmith Pƙed 3 lety

    I really Angular, but you Jeff took some of that apprehension that I had for React. Now I can at least work with both and now I feel like I can tackle next.js too.

  • @muhammadfaizan5969
    @muhammadfaizan5969 Pƙed rokem

    This is amazing, for experience developer we just need short intro, this was so helpful

  • @dedodiy3887
    @dedodiy3887 Pƙed 3 lety

    Best new year's gift ever

  • @ahmadsalih6844
    @ahmadsalih6844 Pƙed 3 lety

    MANNNN!! you are doing amazing, keep it

  • @AlanAndradeC
    @AlanAndradeC Pƙed 2 lety

    This is incredibly useful. Thank you !

  • @aleksamatic9558
    @aleksamatic9558 Pƙed 3 měsĂ­ci

    This is what i was looking for!

  • @AryanLokar
    @AryanLokar Pƙed 3 lety

    thank you for this clear and easy to understand video, i hope i can see nextjs internationalization and nextjs for eCommerce in your courses

  • @SamFromaway
    @SamFromaway Pƙed 3 lety +9

    Great video as always. What I would be interested in a course is to learn how the hydration with next exactly works. Especially in regards to the script __NEXT_DATA__ and how to integrate css libraries like Material UI and Chakra. 😁

    • @Fireship
      @Fireship  Pƙed 3 lety +5

      Hydration is also weird when dealing with realtime firebase data, I'll cover that in the course

    • @SamFromaway
      @SamFromaway Pƙed 3 lety

      @@Fireship Cool thanks :D

  • @Filip_M
    @Filip_M Pƙed 3 lety +1

    Haha "I'll see you in the NEXT one" nice one!

  • @PauloGriiettner
    @PauloGriiettner Pƙed 3 lety

    I’m actually planing to learn NextJS for my next project, but I’ll wait for your course, because the application will use firebase as back end and server side rendering on front end

  • @EnglishRain
    @EnglishRain Pƙed rokem

    dude i love you so much, you explain soooo well

  • @__greg__
    @__greg__ Pƙed 3 lety

    This is a great overview đŸ™ŒđŸœ

  • @exactzero
    @exactzero Pƙed 3 lety

    The best web development framework out there!

  • @karsongrady
    @karsongrady Pƙed 3 lety +1

    I NEEDED THIS

  • @911madza
    @911madza Pƙed 3 lety +3

    Talking about quality Fireship produces 👌
    Vercel should consider embedding this on their Nextjs landing page 💯💯

  • @tymcfarland8158
    @tymcfarland8158 Pƙed 2 lety +13

    Only devs would put a "//" in their youtube video title...

  • @johndermanabat7707
    @johndermanabat7707 Pƙed 3 lety

    Amazing as always!

  • @prasadk-oi9qr
    @prasadk-oi9qr Pƙed 3 lety

    Looking forward to see your Next.js course ✋

  • @razorjhon2622
    @razorjhon2622 Pƙed rokem +1

    This is alot better than 2 hour courses !

  • @oiojin831
    @oiojin831 Pƙed 3 lety +2

    Best summary ever

  • @vladalexandru1570
    @vladalexandru1570 Pƙed 3 lety

    Now I know which is my next course. I started one on Udemy, but I'll switch to this one for sure :)

  • @carsend7412
    @carsend7412 Pƙed 3 lety +2

    love the videos. kind of curious....do you think a regular SPA app made in the vue-cli, CRA, or angular-cli is a way of the past? Like would there be any reason to keep making those? Nuxt/Next and the SSR wave I've been trying to understand, but keep going back and forth if this like makes traditional SPAs obsolete.
    Especially in like internal apps where something like SEO you don't care about.

  • @kucukaslanmuhammetmustafa7337

    Thanks i knew about Michael Hill! He was my professor in Oxford and told us FBC fund!

  • @mrala
    @mrala Pƙed 3 lety

    the more react stuff, the more useful channel :)

  • @simspettway4706
    @simspettway4706 Pƙed 2 lety

    You're the man. Thank you for this!

  • @RenaldyPratama
    @RenaldyPratama Pƙed 3 lety

    Thank you so much for this video! đŸ”„

  • @typingtext1
    @typingtext1 Pƙed 2 měsĂ­ci

    thanks, very informative and time efficient way of learning :)

  • @oofin357
    @oofin357 Pƙed 2 lety

    thanks for awesome tutorial bro, keep up the good works.

  • @GaelGendre
    @GaelGendre Pƙed 9 měsĂ­ci +3

    Now it has changed with Next.js 13: routes (4:03) and dynamic route (5:15) check the docs

  • @AnthonyAnalog
    @AnthonyAnalog Pƙed 2 lety

    100 Seconds is the best quick burst tutorial structure on the internet.

  • @jonnathanmoreno5538
    @jonnathanmoreno5538 Pƙed rokem +2

    Thanks for putting up together this video I learned the entire concept in less than 12 mins while I was on Next.js website for hours trying to understand it...smh

  • @maacpiash
    @maacpiash Pƙed 3 lety +14

    "Thanks for watching, and I will see you in the *next* one."

  • @OrestisPantazos
    @OrestisPantazos Pƙed 3 lety

    Excellent video!! Well done!!

  • @erkinkurt6799
    @erkinkurt6799 Pƙed 3 lety

    Awesome content again! Thanks

  • @LongJourneys
    @LongJourneys Pƙed 3 lety +54

    For me the biggest reason I use Firebase is authentication. It was a bit of a pain to figure out how to keep authentication persistent on page reload with Vue/Nuxt; so if you could do a walkthrough on that with Next, that would be cool.

    • @stunna4498
      @stunna4498 Pƙed 2 lety +8

      well i use angular and to keep authentication persistent i would save the user token on the browser and everytime the user refreshes the page i would ask the server to get the current user from this token and all would work fine in my experience ofc

    • @thanatosor
      @thanatosor Pƙed 2 lety +2

      have they fixed auth with Vue/Nuxt now ?

    • @danielchettiar5670
      @danielchettiar5670 Pƙed 2 lety

      @@stunna4498 Where do you store it on the client side? Cookies or storage?

    • @stunna4498
      @stunna4498 Pƙed 2 lety +5

      @@danielchettiar5670 yeah i store the token in the storage of the browser( client side). Everytime you make a request to the api u send the token. If the server responds with a 401 (Unauthorized) i redirect the user to the login page.

  • @andrew_schaeffer
    @andrew_schaeffer Pƙed 10 měsĂ­ci

    wonderful explanation of NextJS Thanks!

  • @codenamegrant
    @codenamegrant Pƙed 3 lety

    Excellent Video, the Beyond 100 sec, was really informative

  • @roshan4348
    @roshan4348 Pƙed 10 dny

    Great nextjs video!

  • @collax2613
    @collax2613 Pƙed 3 lety +4

    Now we need the same but with nuxt.js ;)

  • @MiketheNerdRanger
    @MiketheNerdRanger Pƙed rokem

    I don't think I know enough about each component to be excited about this.

  • @ninjaasmoke
    @ninjaasmoke Pƙed 3 lety

    Whoa, Imma learn Next

  • @prashoonbhattacharjee8211

    The video is amazing!!!đŸ”„đŸ”„

  • @iamlande3979
    @iamlande3979 Pƙed 3 lety +2

    next.js and firebase would be a candy even if it is a simplest CRUD, I'd definitely buy it

  • @shiblynoman310
    @shiblynoman310 Pƙed 3 lety

    Loved it :)

  • @hatrez3679
    @hatrez3679 Pƙed rokem

    I've written my own frameworks until now. This actualy is close to what I've implemented. I've never used React, Vue nor Angular. I will give this a try the next couple of days.

  • @kettenbach
    @kettenbach Pƙed 3 lety +2

    I see what you did there at the end, I'll see you on the Next one. 😀👍

  • @animeshsharma7332
    @animeshsharma7332 Pƙed 2 lety +2

    I would like to know, how to do state management in Next? Can Redux be used with Next?

  • @parthpuri2000
    @parthpuri2000 Pƙed 3 lety

    First time someone properly explained client side rendering...

  • @emonymph6911
    @emonymph6911 Pƙed 2 lety

    Would using Next and having this server side rendering give you a higher bill when cloud hosting? If so, how many times more expensive is server side rendering to client side rendering?

  • @Sivx76
    @Sivx76 Pƙed 3 lety

    Amazing explanation!

  • @sandeshsapkota6341
    @sandeshsapkota6341 Pƙed 2 lety

    thank you for the great video ! just wondering which theme is this on vs code ? can i get this in php storm ?

  • @ddague-kp3ub
    @ddague-kp3ub Pƙed 2 lety

    In static rendering, how does it differ from an old school website with a bunch of html pages? Here I am thinking about reqres cycle and page transitions.

  • @jayanths1221
    @jayanths1221 Pƙed 3 lety +185

    Three Js in 100 seconds

  • @emyboybeats4330
    @emyboybeats4330 Pƙed 3 lety +1

    I built a blog with Next and it's awesome. I have an issue tho đŸ˜Ș. When I click on a blog post it takes few seconds route to the post details page. Is there a way to display a loading screen?

  • @nitrous1001
    @nitrous1001 Pƙed 3 lety

    just when I was writing my own Next.js app too!

  • @dispeltr1183
    @dispeltr1183 Pƙed 3 lety

    best of the best!!! thx

  • @thomasmiller2747
    @thomasmiller2747 Pƙed 3 lety

    oh my god so helpful. Thank you

  • @PaulSebastianM
    @PaulSebastianM Pƙed rokem +1

    Love the icon theme you're using. Which is it?