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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 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

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

  • @valhalla_dev
    @valhalla_dev ปีที่แล้ว +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!

  • @dalyryl
    @dalyryl 2 ปีที่แล้ว +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

  • @nikitaalekseev991
    @nikitaalekseev991 2 ปีที่แล้ว +9

    Awesome!
    Well structured and concise video!

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

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

  • @capscode.
    @capscode. ปีที่แล้ว +5

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

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

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

  • @itsbrgv
    @itsbrgv ปีที่แล้ว +3

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

  • @thequang9234
    @thequang9234 ปีที่แล้ว

    one of the best NextJS video ive seen !

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

    Thank you so much for simplifying it so well!!

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

    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.

  • @wailuthman5679
    @wailuthman5679 ปีที่แล้ว +1

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

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

    wonderfully explained. thanks.

  • @code2475
    @code2475 ปีที่แล้ว

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

  • @EnterpriseKnight
    @EnterpriseKnight 2 ปีที่แล้ว

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

  • @tango8205
    @tango8205 ปีที่แล้ว

    Love your stuff! Big help!

  • @dharshinipriya5775
    @dharshinipriya5775 2 ปีที่แล้ว +2

    Nice one. Please upload many videos on NextJs

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

    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

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

    Amazing video, thank you!

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

    Thanks a lot for this excellent tutroial

  • @Abe-fb2lj
    @Abe-fb2lj 2 ปีที่แล้ว

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

  • @davidgershkovich4800
    @davidgershkovich4800 ปีที่แล้ว +1

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

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

    Thanks! very helpfull

  • @undergroundmaster8
    @undergroundmaster8 ปีที่แล้ว

    Thank you a lot!

  • @entonbabameto6335
    @entonbabameto6335 ปีที่แล้ว

    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 ปีที่แล้ว

    where can i find source code?

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

    Thank you brother

  • @yasminamran5
    @yasminamran5 ปีที่แล้ว

    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

  • @juampy4366
    @juampy4366 2 ปีที่แล้ว +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 2 ปีที่แล้ว

      so did you use something else other than next.js

    • @jesuschrist1501
      @jesuschrist1501 ปีที่แล้ว

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

  • @aquarium3948
    @aquarium3948 ปีที่แล้ว

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

  • @nimethgampaha8036
    @nimethgampaha8036 ปีที่แล้ว

    awesome

  • @mehdihassanpoor396
    @mehdihassanpoor396 ปีที่แล้ว

  • @chesterxp508
    @chesterxp508 ปีที่แล้ว

    GoodJob!

  • @user-ki7qf6gn6w
    @user-ki7qf6gn6w ปีที่แล้ว

    years! Let know your questions!

  • @omarshref4803
    @omarshref4803 ปีที่แล้ว +1

    I feel like plain react is faster 😅

  • @uziboozy4540
    @uziboozy4540 2 ปีที่แล้ว

    Use Remix.

  • @Michaeltje01
    @Michaeltje01 2 ปีที่แล้ว

    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 2 ปีที่แล้ว

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

  • @boonya41
    @boonya41 ปีที่แล้ว

    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 7 หลายเดือนก่อน

      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 :(

  • @aki1840
    @aki1840 ปีที่แล้ว

    Necshgees

  • @greenshaheen6716
    @greenshaheen6716 2 ปีที่แล้ว

    why typescript

    • @gime1945
      @gime1945 2 ปีที่แล้ว +5

      Better question why not. Positives out weight negatives

    • @dalyryl
      @dalyryl 2 ปีที่แล้ว +5

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

    • @greenshaheen6716
      @greenshaheen6716 2 ปีที่แล้ว +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 2 ปีที่แล้ว +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 2 ปีที่แล้ว +1

      @@scarefloor dude typescript is optional. understand this

  • @BattleGn0me
    @BattleGn0me ปีที่แล้ว

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

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

    Tf is yaddayaddayadda

  • @ExpatTraderFX
    @ExpatTraderFX ปีที่แล้ว

    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