Next.js isn't React

곡유
μ†ŒμŠ€ μ½”λ“œ
  • κ²Œμ‹œμΌ 2023. 09. 14.
  • ⭐ Ultimate Next 14 Course: www.jsmastery.pro/next14
    While you're waiting for the course launch, watch:
    πŸŽ₯ Next.js 14 Crash Course: β€’ Next.js 14 Full Course...
    πŸŽ₯ Next.js 14 Threads Clone: β€’ Build and Deploy a Ful...
    πŸ’Ό New Masterclass Cohort starts soon! Land your dream job in a project-based bootcamp with expert mentor feedback, code reviews, and career prep. To find out more, apply here: jsmastery.pro/masterclass
    πŸ’» Join our Discord Community - / discord
    🐦 Follow us on Twitter: / jsmasterypro
    πŸ–Ό Follow us on Instagram: / javascriptmastery
    πŸ’Ό Business Inquiries: contact@jsmastery.pro

λŒ“κΈ€ • 482

  • @king-manu2758
    @king-manu2758 7 κ°œμ›” μ „ +53

    Almost 2 years working as a web dev directly thanks to Adrian. Super happy for your success man. Cheers for much more,

  • @theazimjon
    @theazimjon 7 κ°œμ›” μ „ +103

    Many years ago when react comes out you guys said about how great client rendering like using less resources, etc. We are getting back to php way

    • @Alex-kb2ws
      @Alex-kb2ws 7 κ°œμ›” μ „

      With pages directory you can still write client side applications that are just publishable as a static app, but with the added benefits of file based routing, bundle splitting, preconfigured env, dehydrated html files for each page.

    • @prembikram1652
      @prembikram1652 6 κ°œμ›” μ „ +2

      crypto bros like "tech bros"

    • @5uryaprakashPi
      @5uryaprakashPi 4 κ°œμ›” μ „

      Cough cough 😷

    • @shehanabid
      @shehanabid 2 κ°œμ›” μ „ +3

      Exactly. Forget about PC even mobile devices have like 8 GB ram minimum nowadays, so apart from benfitting SEO I don't get why you'd use server side rendering especially considering that nowadays people are using Cloud like AWS which has pay-per-use method where doing things on server side will cost you more when there is a perfectly feesible client machine available. Also that SEO thing only works for marketing/portfolio sites. you don't do SEO for rest of the project like portals which requires login anyways. And I also don't get why'd you overkill/over-engineer by creating a marketing/portolio type of static/semi-static site with react/next in the first place when there are tons of better and easier options available.

  • @CryptoMarketCourse
    @CryptoMarketCourse 7 κ°œμ›” μ „ +23

    I have learned so much from you Brother. Your the best Teacher online. Thank you so much.

  • @mdmaaz8024
    @mdmaaz8024 7 κ°œμ›” μ „ +16

    Yes we need that video,and thanks for clarifying the concept ❀️

  • @user-mx4ed6mb4j
    @user-mx4ed6mb4j 3 κ°œμ›” μ „

    Thank you so much for the great explanation! This video really helps me understand the difference between react and next js

  • @nursesplus7481
    @nursesplus7481 7 κ°œμ›” μ „ +1

    Youre doing great job boss Arian. Thank you so much for effort.

  • @thymarques
    @thymarques 7 κ°œμ›” μ „ +7

    It is a complex topic, because in a case which there are millions of requests, it is gonna reduce the performance of the server. So, even in client mode, we can use the browser and client memory and cpu, and the internet actually is so fast, we can download the whole bundle so fast, but I still think nextjs and the balance between client and server components are the key.

  • @mariuki97
    @mariuki97 7 κ°œμ›” μ „ +70

    Man keep going. You and your team are my reference. I recommend your channel to everyone around me. I tell them you're the god of good practices πŸ˜‚. This channel is building my career so thank you and the team for that. I'm broke atm but once i get enough money i'll for sure buy the next course. Idk how much will it cost but any price is a good price after all you've done in here.

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +10

      Thank you so much for your support!

    • @sameerswankar
      @sameerswankar 5 κ°œμ›” μ „

      I dont have much idea about nextjs from whatever ive heard in this video, ive doubt. When server executes the javascript code all the load is on the server, but the output has to be sent to the client right ? If yes, then which process is more easier with slow internet, 1. To get the javascript and execute it on the client OR 2. to get the executed js code. Wudnt the executed js code require more data ?

    • @Mattot-qi9qr
      @Mattot-qi9qr 2 κ°œμ›” μ „

      ​@@sameerswankar back to the basic man, read again why we have servee. And why we dont just run thewhole chatgpt in your laptop, instead of running on the server? Whatdo you think will happen if u do that?

    • @Mattot-qi9qr
      @Mattot-qi9qr 2 κ°œμ›” μ „

      ​@@sameerswankarplease read on how server client works. Seems like you only understand fromtend thingy.

  • @abdourahman87
    @abdourahman87 7 κ°œμ›” μ „ +1

    Yes we’d be glad to have that video Adrian 😊. I’m getting the concept and uses of server components now thanks to your videos

  • @hmmmok763
    @hmmmok763 7 κ°œμ›” μ „ +3

    This video really helps me understand the difference between react and nextjs also the purpose of server components. πŸ‘ŒπŸ‘Œ

  • @samuelzih7858
    @samuelzih7858 6 κ°œμ›” μ „

    this style of your videos are the best;it makes you just focus more on the subject therefore explanation is much more better than worrying about looking in the camera;

  • @hrvojematosevic8769
    @hrvojematosevic8769 7 κ°œμ›” μ „ +70

    So much work goes into every one of your videos, Adrian. Excellent job, keep it up!

  • @tauqeerhusain7521
    @tauqeerhusain7521 7 κ°œμ›” μ „ +3

    You make me a day better with next js ❀

  • @ShahinHemat
    @ShahinHemat 7 κ°œμ›” μ „ +2

    You are absolutely amazing - thank you for the great explanation!
    And yes, it would be awesome to get insights into how your team thought when building your website with Next!

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +1

      I just published it 30 minutes ago! :)

    • @ShahinHemat
      @ShahinHemat 7 κ°œμ›” μ „

      @@javascriptmasteryjust watched it. Man, you and your team have truly mastered the art of delivering VALUE in everything that you do. I will soon become a customer. I’m at a place where I’ve gotten so much value from your content that I WANT you to have my moneyπŸ˜… Doesn’t feel right getting all this for free. A true team of service. Inspiring - grateful!

  • @mikeonochie7548
    @mikeonochie7548 7 κ°œμ›” μ „ +12

    I haven't commented inna while but this is great stuff Arian. I truly appreciate ur efforts to keep us all up to date with the latest trends and topics especially in the web dev community.πŸ‘

  • @IcTxDiogo-
    @IcTxDiogo- 7 κ°œμ›” μ „

    This video is exactly what I've been thinking to myself for the last 5 months, and i can't understand how there are people who think nextjs is useless, how send less js to client is useless ? thaks for this video!

  • @nextlevelbush1661
    @nextlevelbush1661 3 일 μ „

    this video is spot on ngl ! that's what i have been thinking when i first started using NextJs it felt like am just developing some reactApp but just under a different name framework and that brought to my attention that am not using NextJs as its supposed to be used but instead i used it like it was just react

  • @ankitgupta7467
    @ankitgupta7467 7 κ°œμ›” μ „ +1

    The video we need , Thanks Adrian❀

  • @NaderEzzat-jl4el
    @NaderEzzat-jl4el 7 κ°œμ›” μ „ +6

    I am actually working on a project wich will include 2 forms and I have developed one of them until now using client side rendering but as soon as I open my laptop and the code , I will change my code's structure to be using server side rendering. Really beneficial video.

  • @juneketchum787
    @juneketchum787 7 κ°œμ›” μ „ +5

    Your work is amazing, it always helps a lot πŸ”₯ i was wondering if you're planning to make any LMS canvas like related project in future

  • @5HJhbcLKqcA
    @5HJhbcLKqcA 7 κ°œμ›” μ „ +1

    You are the best mate. Don't mind with that type of people, keep up your excelent work! ⚑⚑

  • @mohamedmrabet4814
    @mohamedmrabet4814 7 κ°œμ›” μ „ +1

    Probably one of the few, if not the only video, that really addresses this issue. I have seen tons of videos making their uppermost component a client component, basically making the whole application a client side application, which is not really what we're aiming for with the new App Router.
    If anyone has found a way to efficiently implement a user authentication and routing mechanism on a Server Component, therefore without implementing a context provider at the topmost component, throw me a comment. I would greatly appreciate.

  • @hamzaakhun
    @hamzaakhun 7 κ°œμ›” μ „ +1

    Love you so much for such wonderful work.

  • @TheBlackmanIsGod
    @TheBlackmanIsGod 7 κ°œμ›” μ „

    Please show us how you built your site mostly on the server side!?

  • @moveonvillain1080
    @moveonvillain1080 7 κ°œμ›” μ „ +2

    Would love a series on thinking the NEXT way.. Like it could have various scenarios one would encounter during development.. say auth or registration... Data that updates very frequently etc

  • @sujoyghosh7152
    @sujoyghosh7152 7 κ°œμ›” μ „ +2

    This video was really important!
    I always had this doubt in my mind that if we are anyways using hooks in component then how this page can load on the server. I broke the components just like you, still wasn't fully sure whether its the right way to write code or not!
    Thanks a ton for this video ❀
    Another video request: if possible please create some projects based on event based architecture

  • @igornorado
    @igornorado 7 κ°œμ›” μ „ +6

    I hate how people constantly dismiss arguments with arrogant or sarcastic comments (many times they don't even know what they're talking about).
    Some of the comments you replied to reminded me why I don't like following developers on Twitter or other social platforms.
    Great video, thanks for the explanation and looking forward to the new course!

  • @HarshalHirve555
    @HarshalHirve555 7 κ°œμ›” μ „ +1

    Completely understand and agree πŸ‘ Thanks for the video πŸŽ‰

  • @abenjamin13
    @abenjamin13 7 κ°œμ›” μ „

    Just going put this here.
    I appreciate this video 🫡
    Thank you πŸ™.
    It has been needed. βœ…

  • @walidlam2411
    @walidlam2411 7 κ°œμ›” μ „

    Please show how you used server components in your website

  • @ahmadbilalfarooqi5731
    @ahmadbilalfarooqi5731 7 κ°œμ›” μ „ +1

    adrian....you explained very well about next.js 13

  • @NdondoMicheal
    @NdondoMicheal 7 κ°œμ›” μ „ +2

    BOOM πŸ’₯πŸ’₯ Best Nextjs explanation video.

  • @Sindoku
    @Sindoku 6 κ°œμ›” μ „ +6

    Also, technically speaking, react is just a small library that compares code using a diffing algorithm to do so efficiently. Other libraries like react dom are makes it usable in the browser. Going a step further, react router allows you to do navigation. All these packages and some others create a react ecosystem, aka a framework. NextJS is just Vercels approach at doing the same thing that many devs have already been doing with CRA and the packages listed above (and others). That said, NextJS does so very effectively, but it’s heavily opinionated on how you should code, which can be good, but can also be bad. It’s the same reason Ruby on Rails was so popular for a while, only to be thought of as β€œbad” down the road for beginners because it had so many abstractions that a beginner couldn’t actually learn (without great difficulty) what RoR was doing behind the scenes. Now it seems we’ve cycled back around and RoR style frameworks are popular again. Granted react only covers the UI. I could also talk about newer devs choosing to learn express over RoR too in order to cover the backend technologies.

    • @erickpruneda923
      @erickpruneda923 26 일 μ „

      hi there! im interested in making fullstack projects. i was dealing with express for the apis, but i nextjs caught my attention bc i saw that it can handle both sides. do you personally recommend it??

  • @physicschemistry2190
    @physicschemistry2190 7 κ°œμ›” μ „ +1

    Great explanation sir . Excellent work , keep it up

  • @hamadbakeel1951
    @hamadbakeel1951 7 κ°œμ›” μ „ +1

    Professionally explained with simple terms and great info flow
    From Yemen, Huge love for all your efforts.

  • @parlor3115
    @parlor3115 7 κ°œμ›” μ „

    This has been my suspicion all along. Thank you for confirming this to me πŸ‘

  • @digredeth
    @digredeth 7 κ°œμ›” μ „

    I really want that video. Really good explanation

  • @jooncco
    @jooncco 7 κ°œμ›” μ „

    Points made crystal clear ✨

  • @oluwatobioluwatosin9423
    @oluwatobioluwatosin9423 7 κ°œμ›” μ „ +1

    Awesome... and yes anticipating the video!!

  • @ibrahimaziz224
    @ibrahimaziz224 7 κ°œμ›” μ „

    You make a lot of sense man

  • @AsifSaifuddinAuvipy
    @AsifSaifuddinAuvipy 5 κ°œμ›” μ „

    They are going back to the traditional server side Frameworks. Nice explanation. It now released v14

  • @20MrAmir01
    @20MrAmir01 7 κ°œμ›” μ „

    I want to learn next.js completely . which courses from KRplus are good?

  • @holygroovearena
    @holygroovearena 7 κ°œμ›” μ „

    I'd like to know the thinking process of how your website was built

  • @watchnow4211
    @watchnow4211 7 κ°œμ›” μ „ +1

    Thanks for clarifying. We are waiting for the video

  • @salmanpatrick
    @salmanpatrick 7 κ°œμ›” μ „ +30

    Moral of the story, if you can't use client side things directly inside the server components then make a separate component for them and just render them into the server side components and pass the data as the props whatever you want.
    Tysm for such a valuable info. Luckily I'm working on a huge Real Estate Project in Next JS and it would be really helpful.

  • @jyothiswaroop2964
    @jyothiswaroop2964 7 κ°œμ›” μ „ +1

    We need that video Adrian!

  • @ugyenofficial
    @ugyenofficial 7 κ°œμ›” μ „ +1

    Waiting for the next js course sir. And thank you for the video. My doubts are being cleared by this video

  • @ahmadbilalfarooqi5731
    @ahmadbilalfarooqi5731 7 κ°œμ›” μ „ +1

    i have learned more from your videos
    your content is awesome

  • @joel9909
    @joel9909 7 κ°œμ›” μ „

    Such a smart teacher.

  • @StefanoBallad
    @StefanoBallad 6 κ°œμ›” μ „

    Thank you! Great video!

  • @safwenronaldo
    @safwenronaldo 5 κ°œμ›” μ „

    seriously amazing video, thanks a lot

  • @taweeabdullah239
    @taweeabdullah239 7 κ°œμ›” μ „

    It seems like I can't get a section chance to join the masterclass after already applying before. I didn't meet a certain criteria then, but now I do

  • @okunadefemijoel7890
    @okunadefemijoel7890 7 κ°œμ›” μ „ +1

    I can't wait. Thanks in advance

  • @sungo9664
    @sungo9664 7 κ°œμ›” μ „ +3

    You are the greatest Teacher for that and I hope that I understand your course. English is very hard for me as a German.

  • @jeffreysaari
    @jeffreysaari 7 κ°œμ›” μ „ +1

    This is great. Something I am confused about is adding event listeners like scroll to the page for animations. In my experience they have to be in the useEffect hook. Is there a way to render the content on the server and only the animation on the client? What would be the best way?

  • @yousafsabir7
    @yousafsabir7 5 κ°œμ›” μ „

    you're exactly right. I myself still haven't got used to the way of nextjs and I do it in react way which I know I'm not using nextjs for it was meant to be

  • @codeinProjects3295
    @codeinProjects3295 7 κ°œμ›” μ „ +2

    We need more information and usage of NEXTJs to its peak performance project plz

  • @dharmeshtiwari09
    @dharmeshtiwari09 7 κ°œμ›” μ „ +7

    ❀ From India.... Took your react course and loved it
    Please keep next.js course affordable... Waiting for that..... Appreciate your hard work and simple explanation of complex topics... Really helpful content..

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +4

      I'll try to make it as affordable as possible!

    • @dharmeshtiwari09
      @dharmeshtiwari09 7 κ°œμ›” μ „

      I bought the course Adrian and loving it... Thanks for making such amazing content in that affordable price.... And bonuses are amazing ❀

    • @dharmeshtiwari09
      @dharmeshtiwari09 7 κ°œμ›” μ „

      I need to learn MERN fullstack... Can you please do more of MERN fullstack youtube videos and even better if you can make an amazing MERN fullstack course just as in depth as Next 13.5 course is (and affordable too πŸ™‚) ... That would really be helpful... Thanks in advance β€πŸ‘

  • @devLooney
    @devLooney 7 κ°œμ›” μ „ +1

    Thank you! Much informative.

  • @tenj
    @tenj 3 κ°œμ›” μ „

    Very valuable information thank you ❀

  • @visitorX302
    @visitorX302 7 κ°œμ›” μ „ +2

    Adrian.. thanks for this clear and what about talking about nestjs

  • @AREACREWBMX
    @AREACREWBMX 7 κ°œμ›” μ „

    Please do a video on the websites made with next13! is very interessant

  • @EricFernandoMosqueraVelandia
    @EricFernandoMosqueraVelandia 7 κ°œμ›” μ „ +1

    Excellent job buddy!

  • @red8599
    @red8599 7 κ°œμ›” μ „ +1

    amazing as always πŸ₯°πŸ₯°πŸ₯°

  • @specex
    @specex 5 κ°œμ›” μ „

    Great explanation. .Net developers have a somewhat similar learning curve in dealing with the Blazor framework.

  • @mohammedrabiudeen7255
    @mohammedrabiudeen7255 7 κ°œμ›” μ „

    Please do a quick video on qwik

  • @richardleungwoogabriel9317
    @richardleungwoogabriel9317 7 κ°œμ›” μ „ +1

    Adrian! You the man! ❀

  • @filipevalentegomes2383
    @filipevalentegomes2383 7 κ°œμ›” μ „ +5

    I only use Next, so I’m always server rendering focused, the problem is that nowadays almost every site uses, GSAP or framer motion. Even if you create components to handle anything that needs to be client based, you’ll have more than half the page that can’t be read by Google, so it’s a huge problem anyways. Unless you have a workaround for using an animation library, without using client rendering, there is not much you can do

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +1

      Great point. Adapting to animations is definitely something that'll have to be addressed better.

  • @Kamilek96
    @Kamilek96 5 κ°œμ›” μ „

    I'm so glad that I switched to backend and I work with well established and mature tehnologies ohh :3

  • @Erbond12
    @Erbond12 2 κ°œμ›” μ „

    I know this video is a bit old, but it helped me to understand this a bit confusing concept! Thank you.
    As one improvement, I would add a visual view of the coding example.. as I had not that much of an understanding yet of all the components and had to really focus and read carefully to understand what is doing what and what is missing when doing ssr vs. no ssr.
    Maybe highlight what could be done on the server in the first code and show the ui to get even those with little knowledge like me to understand easier.
    But otherwise, it's a very good video andunderstanable.. much love from Germany ❀️

  • @arnabchatterjee8556
    @arnabchatterjee8556 7 κ°œμ›” μ „ +1

    Please make the video on how to use next js for building ssr

  • @vadneydasilva230
    @vadneydasilva230 7 κ°œμ›” μ „ +4

    Please make a video showing how you built your website... Thanks in advance and thanks for all the tips you have given through this channel... :)

  • @vickonsscope6477
    @vickonsscope6477 7 κ°œμ›” μ „

    I totally agree with all that you said... But!!.. I really don't like the strict one page loading features in Nextjs.. If you want to display a Loader Skeleton for a particular component, You would be forced to use the old method of client side fetching. I might be wrong though, if there is an alternative, I would be glad to be informed.

  • @channelinprogress446
    @channelinprogress446 7 κ°œμ›” μ „ +5

    Love the animations! Even tho I understand it means more work to put in the video. Do a couple tests and pick what suits you better for performance on your side and results! Re-use the most animation you can to boost up the editing time.
    At this point, you shouldn't be surprised to be a voice for the Next community! You are also inspiring a ton of creators doing carbon copy of your content and brand, so what you do over here, ends up resonating in a lot of places.

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „

      Thank you for such a profound comment, highly appreciated!

  • @iannjoroge
    @iannjoroge 7 κ°œμ›” μ „

    I posted this on Reddit to genuinely understand, not to stir up . Thank you for the explanation

  • @ohhjepoy
    @ohhjepoy 7 κ°œμ›” μ „ +1

    Eventually i will learn them all 😁

  • @mb-dev06
    @mb-dev06 5 κ°œμ›” μ „

    You are a beast!

  • @souvikhalder1510
    @souvikhalder1510 7 κ°œμ›” μ „

    You don't have to care about those negative comments, we love you Adrian , keep going ❀ , we know how much knowledge you've

  • @abhirajgawai505
    @abhirajgawai505 7 κ°œμ›” μ „ +1

    Thank you so much for the clear explanation.. Please explain how you created the js mastary page.

  • @nabeelmirza8801
    @nabeelmirza8801 7 κ°œμ›” μ „ +8

    Thanks, this explanation was real helpful. Why? Because in the sub reddit I thought it was a joke but thankfullly you posted about it.

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +3

      Glad to hear that, that was the main reason why I decided to make it.

    • @nabeelmirza8801
      @nabeelmirza8801 7 κ°œμ›” μ „ +3

      Whoa, how can a single video get so many likes and comments. You are very inspiring

  • @mcha_yt
    @mcha_yt 7 κ°œμ›” μ „

    I totally agree with you

  • @Chriss-cn1ch
    @Chriss-cn1ch 7 κ°œμ›” μ „ +1

    Well said!

  • @Arshahdul_ahmed
    @Arshahdul_ahmed 7 κ°œμ›” μ „ +1

    Can you make a video on hosting Next.js 12 & 13 apps on cPanel, hPanel OR AWS?

  • @JE4NDEV
    @JE4NDEV 7 κ°œμ›” μ „

    My English isn't perfect yet, but I've been learning a lot from watching your videos on KRplus. I'm very grateful for that. I'd like to purchase the course. Is it possible to use the Glotojo plugin or another one to assist me with PT-BR subtitles?

  • @mlnima
    @mlnima 7 κ°œμ›” μ „ +2

    I spent 3 months to convert my old Nextjs CMS project to server component but now I like it

  • @profglac
    @profglac 5 κ°œμ›” μ „

    Wonderful video! What tools did you use for editing? I love your channel!

  • @Thassalocracy
    @Thassalocracy 7 κ°œμ›” μ „ +4

    I've used Remix for a project before and what this guy says is very much true. SSR practically eliminates the need for client side hooks like useState, useEffect, useContext, useReducer etc. Why would you manipulate data with state when you can just send any data you get to server for validation/storage? Likewise with fetching data, Remix doesn't even use useEffect for that. These full stack React frameworks have transformed the way to render data with components.

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +1

      Exactly!

    • @thorw2136
      @thorw2136 7 κ°œμ›” μ „ +2

      Well these hooks allow/simplify ui to be updated and performing complex and interactive ui based on events and user inputs .
      if I have to make round trip to server for each ui update what's the point of react , I can do the same with classic html and css and little js and write all logic at server right ? Am I missing something?

    • @Thassalocracy
      @Thassalocracy 7 κ°œμ›” μ „

      @@thorw2136 in my experience, for such cases the hook that I would use at the most would be useState, that's all. I wouldn't use any other state management more complex than useState. Use useState to conditionally render UIs, show warning text etc. For anything else that involves data validation, that's the responsibility of the backend, the raison d'etre of Next js and Remix.

  • @devsebi2136
    @devsebi2136 7 κ°œμ›” μ „

    I don't know react, am a MEAN stack dev, coming from Angular, does going to Next js directly? will it be good?

  • @nursesplus7481
    @nursesplus7481 7 κ°œμ›” μ „

    Yes I agree

  • @webdev_telugu
    @webdev_telugu 7 κ°œμ›” μ „

    Why not a single server component and use server actions to submit the form. Isn't that the way how we use NextJS 13

  • @thegreatben27
    @thegreatben27 7 κ°œμ›” μ „ +4

    Thank you so much abdrian. Really appreciate your sincere sacrifices. ❀❀❀. Is the team still working on the remainder chapters of the next.js Ebook?

  • @m.bashar4309
    @m.bashar4309 7 κ°œμ›” μ „

    How many JavaScript is needed for next js

  • @1vanGuillermo
    @1vanGuillermo 7 κ°œμ›” μ „

    Still waiting for the ultimate course πŸŽ‰πŸŽ‰

  • @arbu919
    @arbu919 7 κ°œμ›” μ „

    we need the video Sir

  • @ADLMStudio
    @ADLMStudio 7 κ°œμ›” μ „ +1

    Yes please will like the course on how you built your website

  • @user-em2dx4wj4p
    @user-em2dx4wj4p 5 κ°œμ›” μ „

    very nice explained !!

  • @ArjunCodess
    @ArjunCodess 7 κ°œμ›” μ „ +1

    11:00 YES! we want it! :)

  • @hawarhekmat1174
    @hawarhekmat1174 7 κ°œμ›” μ „ +142

    YES, We all can agree that NextJS is the future of web development, and don't forget about server actions when it becomes stable a lot will change about react and next :)

    • @javascriptmastery
      @javascriptmastery  7 κ°œμ›” μ „ +16

      Exactly!!! And we already use them in our code

    • @kizigamer6895
      @kizigamer6895 7 κ°œμ›” μ „ +2

      I have a doubt then what is difference in Astro and Nextjs features
      As I see what the things you mentioned today in the video are already stable features in Astro
      I am confused should I choose Astro or Nextjs
      Can u pls clarify

    • @hawarhekmat1174
      @hawarhekmat1174 7 κ°œμ›” μ „

      the word "stable" doesn't mean that you can not use server actions, you can absolutely use it, but the way you handle errors are form status is a bit hard, you can handle errors with redirect function, a lot of big companies And developers use NextJS and I will recommend that, but at the end it's you who decides which one is good for your use case. I will say do your research and pick one.

    • @PwrXenon
      @PwrXenon 7 κ°œμ›” μ „ +11

      JavaScript on the backend was a mistake, react was also a mistake

    • @KumarKumar-fu2sh
      @KumarKumar-fu2sh 7 κ°œμ›” μ „

      ​@@no1youknowzRSC and SA means?

  • @dormammun
    @dormammun 7 κ°œμ›” μ „

    Great video. But how could we invalidate data?
    For example, I have an authenticated user. User info displays in the header and on the settings page.
    Now I change the name of the user on the settings page. How could I invalidate user data (name) in 2 components that are server side? - I found only one solution to run router.refresh(), but it will revalidate all app. Furthermore, It takes time while next fetching new server components. Compared to a typical useContext/redux application, I could just change local react state, and it will immediately change ui and everything that depends on auth data.

  • @Yahya_Umar
    @Yahya_Umar 7 κ°œμ›” μ „ +1

    That very well thanks and. I personally recommended to build a learning management system.