Next.js For React Developers | Everything You Need To Know

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • I'm pretty sure many of you already heard and somehow knew about the greatest framework of the 21st century, Next.js! Next.js is a fully sophisticated and very fast framework for React applications that gives you everything you need from Routing to Production builds and SSR with hybrid SSG! In this video, we'll go through the transition process of moving from old CSR React (single page apps) into working with Next.js and better understanding of Server-Side Rendering (SSR) or Static Site Generation (SSG), as well as, get deeper into different topics of Next.js and how it works behind the scenes.
    ⭐ Timestamps ⭐
    00:00 Intro
    01:18 Next.js (SSR/SSG) vs React (CSR)
    07:15 Setting up Next.js Project
    08:30 Next.js Basic Project Structure
    09:56 Next.js for React folks
    11:24 Next.js is a framework with a set of standards
    12:49 Manipulate the Header
    13:45 Routing
    15:50 Next.js Data Fetching and Props
    21:08 User Interactions
    23:40 SSR vs SSG in the real world
    26:40 Do Data gets updated when using SSG
    🧭 Turn Design into React Code | From prototype to Full website in no time
    • Turn Design into React...
    🧭 Watch Tutorial on Designing the website on Figma
    • I Design a onecolor We...
    🧭 Watch Create a Modern React Login/Register Form with smooth Animations
    • Create a Modern React ...
    🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools
    • Debug React Apps Like ...
    🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React
    • Master React Like Pro ...
    🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app
    • Debug React Apps Like ...
    🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize
    • Build Login/Register A...
    🧭 Introduction to GraphQL with Apollo and React
    • Introduction to GraphQ...
    🐦 Follow me on Twitter: / ipenywis
    💻 Github Profile: github.com/ipenywis
    Made with 💗 by Coderone

Komentáře • 58

  • @valhalla_dev
    @valhalla_dev Před rokem +11

    I've been doing React dev for a couple years and started seeing the benefits of SSR/SSG, especially for data vis. I started looking into Next, and this was a fantastic explainer for it. You're the bomb!

  • @nikitaalekseev991
    @nikitaalekseev991 Před 2 lety +9

    Awesome!
    Well structured and concise video!

  • @dalyryl
    @dalyryl Před 2 lety +3

    This was kind of topic every developer needs, this is a question were interviewers would like to hear from the applicant. Thanks for this coderOne

  • @capscode.
    @capscode. Před rokem +5

    This video is amazing and you have covered all the differences, really very helpful and thank you soo much…..

  • @pyrotaze
    @pyrotaze Před 10 měsíci

    Best NextJS tutorial video I've seen. Great work.

  • @srinivasnahak3473
    @srinivasnahak3473 Před 6 měsíci

    Thank you so much for simplifying it so well!!

  • @thequang9234
    @thequang9234 Před rokem

    one of the best NextJS video ive seen !

  • @adm7r
    @adm7r Před 8 měsíci +1

    wonderfully explained. thanks.

  • @itsbrgv
    @itsbrgv Před rokem +3

    NextJS should include your video in their documentation page!!! saves a lot of time reading the pages!!!

  • @tango8205
    @tango8205 Před rokem

    Love your stuff! Big help!

  • @wailuthman5679
    @wailuthman5679 Před rokem +1

    very helpful explanation the best video on this topic
    Thank you for the effort mate.

  • @abiabiram2910
    @abiabiram2910 Před 4 měsíci

    Awesome content i have in next js 11 years back on a small project this helps me to understand all types of rendering concepts

  • @code2475
    @code2475 Před rokem

    really good video...highly appreciate your efforts !!!

  • @gohilkrishnapalsingh6647
    @gohilkrishnapalsingh6647 Před 2 měsíci

    Before seeing this video I didn't know about the SSR but I had an issue of loading huge data and now I will get the speed that needed to load my site. So, now I got interest why I should learn NextJs.

  • @doomnationalist
    @doomnationalist Před 6 měsíci

    Amazing video, thank you!

  • @kamrant8915
    @kamrant8915 Před 2 měsíci

    Thanks a lot for this excellent tutroial

  • @EnterpriseKnight
    @EnterpriseKnight Před 2 lety

    What's the addon you're using to highlight the intentation columns for the brackets?

  • @dharshinipriya5775
    @dharshinipriya5775 Před 2 lety +2

    Nice one. Please upload many videos on NextJs

  • @anilkatakam2738
    @anilkatakam2738 Před 10 měsíci

    Thanks! very helpfull

  • @undergroundmaster8
    @undergroundmaster8 Před rokem

    Thank you a lot!

  • @programmingwithnit5308
    @programmingwithnit5308 Před 10 měsíci

    Thank you brother

  • @socialdamage
    @socialdamage Před 9 měsíci

    If you would have this setup for a dynamic page project with a headless CMS. Which one would perform better? How can i measure this actually?
    React + EsBuild ( Lazy loading / Splitting )
    -VS-
    NextJs

  • @Abe-fb2lj
    @Abe-fb2lj Před 2 lety

    It’ pretty concise explain! Thank you!
    BTW, what’s your vscode theme?🤣

  • @davidgershkovich4800
    @davidgershkovich4800 Před rokem +1

    Drag the volu for the setuper track that you're recording into all the way down.

  • @juampy4366
    @juampy4366 Před 2 lety +4

    i think it works perfectly when your app is kinda small like a vlog, website and maybe small ecommerce, but when you need somet scalable it doesnt really work well.... at least when i tried to apply hexagonal architecture over the nextjs"backend" i couldnt, it just have small options when you try to develop a consistent backend by layers.... and also i cant find some info about it

    • @itgiants5218
      @itgiants5218 Před rokem

      so did you use something else other than next.js

    • @jesuschrist1501
      @jesuschrist1501 Před rokem

      that doesn't make any sense, how on earth does rendering on server side not doable in large scale projects?

  • @nimethgampaha8036
    @nimethgampaha8036 Před rokem

    awesome

  • @yasminamran5
    @yasminamran5 Před rokem

    This is great. Would you please do a vedio ( or just an article) toshow how to create multiple memory game with next as toy did with react and tic-tac-toe. If you would I would qpretiate it very much

  • @entonbabameto6335
    @entonbabameto6335 Před rokem

    Early on, You ntion a tutorial You've made, concerning the content setup. I can't seem to see it in Your description though?

  • @clippy5394
    @clippy5394 Před rokem

    where can i find source code?

  • @user-ki7qf6gn6w
    @user-ki7qf6gn6w Před rokem

    years! Let know your questions!

  • @chesterxp508
    @chesterxp508 Před rokem

    GoodJob!

  • @mehdihassanpoor396
    @mehdihassanpoor396 Před 11 měsíci

  • @aquarium3948
    @aquarium3948 Před rokem

    good video. However next.js is SSR but not really SSG because it can't even export an optimized image

  • @omarshref4803
    @omarshref4803 Před rokem +1

    I feel like plain react is faster 😅

  • @uziboozy4540
    @uziboozy4540 Před 2 lety

    Use Remix.

  • @Michaeltje01
    @Michaeltje01 Před 2 lety

    Can someone explain me the advantage of using nextjs if you're proficient with webpack and CDNs?
    How does this work if you want your website served close to the user everywhere in the world?

    • @Chefpaolo69
      @Chefpaolo69 Před 2 lety

      It helps bot from Google to read your website. So good for seo

  • @aki1840
    @aki1840 Před rokem

    Necshgees

  • @boonya41
    @boonya41 Před rokem

    React provides Suspend and lazy for a couple of years already. So you are not required to load all the application at first visit anymore

    • @josh0n
      @josh0n Před 7 měsíci

      Yes but that is only one problem that NextJS addresses (small file sizes, content on demand), it also addresses the open graph problem: if you rely on client-side JS to set your meta tag info - page description, image, etc (everything that shows up on Facebook, etc. when you link to a page) - then it will not work :(

  • @greenshaheen6716
    @greenshaheen6716 Před 2 lety

    why typescript

    • @gime1945
      @gime1945 Před 2 lety +5

      Better question why not. Positives out weight negatives

    • @dalyryl
      @dalyryl Před 2 lety +5

      error handling, variable handling, and better code practices. Also saves you a lot of time before building your project

    • @greenshaheen6716
      @greenshaheen6716 Před 2 lety +2

      @@gime1945 we are not playing positive negative game here.many students know JavaScript not typescript and i think typescript is not necessary to learn not at all. thats why I asked why ts

    • @scarefloor
      @scarefloor Před 2 lety +3

      @@greenshaheen6716 Dude asked why typescript, someone listed out all the benefits of typescript and he said "we are not playing positive negative game here" wtf?

    • @greenshaheen6716
      @greenshaheen6716 Před 2 lety +1

      @@scarefloor dude typescript is optional. understand this

  • @omer_fayyaz
    @omer_fayyaz Před měsícem

    Tf is yaddayaddayadda

  • @BattleGn0me
    @BattleGn0me Před rokem

    he should avoid making a video when fresh off a cocaine bump. Does he get bonuses for syllables per second?

  • @ExpatTraderFX
    @ExpatTraderFX Před rokem

    what type of english do you speak man? holy shit all im hearing is a bit of this and that and a bunch of god damn slurppy english..its driving me mad lad