Next.js 15 Ruins Caching Even More

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

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

  • @WebDevSimplified
    @WebDevSimplified  7 หลายเดือนก่อน +3

    Check Out Daily.dev: daily.dev/w/web-dev-simplified

  • @zelli840
    @zelli840 6 หลายเดือนก่อน +27

    What we need in next js 15 caching wise:
    -no cache by default
    -not having to add "force-dynamic"
    -same behavior in dev vs production

    • @ts8960
      @ts8960 3 หลายเดือนก่อน +2

      yea its insane that the behavior in dev and production is not the same. That's absolutely INSANE.

  • @incrypted607
    @incrypted607 7 หลายเดือนก่อน +211

    Having different caching behavior for dev vs production is legit psychotic. I have never had as frustrating an experience learning to use a new tool as I did with Next.js. It's like you are destined to run into esoteric problems either caused by shitty, unclear documentation or a total lack of documentation. Unless, of course, you get lucky with your google searching and find the answer on some github issue from a year ago.

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

      i had a production problem in next, which i never had with react or angular ect. The compiler could not tell the different between my server and client file and it wanted me to overwrite my server file with 'use client'. So spend 2 hours and found DynamicHeader solution, silly LOL

    • @ChichaGad
      @ChichaGad 7 หลายเดือนก่อน +2

      The problem is not Next but React itself
      Solid JS is the future

    • @kevinisaac4958
      @kevinisaac4958 7 หลายเดือนก่อน +19

      @@ChichaGadproblem is react getting into bed with Nextjs. React should stay away from the Nextjs team if it needs to stay relevant in 2 years.

    • @jannickpedersen4620
      @jannickpedersen4620 7 หลายเดือนก่อน +4

      @@ChichaGad Some say Svelte after its upgrade xD

    • @curiouslycory
      @curiouslycory 7 หลายเดือนก่อน +2

      It's going to reset every time you save at minimum, because you're re-building the page content, but beyond that it really should work the same in dev otherwise we're going to have really hard to debug issues come up real quick.

  • @dcd_music
    @dcd_music 6 หลายเดือนก่อน +12

    You definitely are one of the people who understand how Nextjs caching mechanisms work. Your explanation is waaay better than that of the vercel team, hands down! I struggled a lot trying to remove all of the caching on version 14.
    Awesome channel!

  • @Ivan-wm6gm
    @Ivan-wm6gm 7 หลายเดือนก่อน +107

    Another reason for me to switch to react-router v7, man next.js is a bunch of temporary solutions and weird work around every new release

    • @BRBS360
      @BRBS360 7 หลายเดือนก่อน +21

      Yep, although I'm starting to get worried about vanilla React as well. The latest release with server actions has me worried a bit. I prefer to have Client and Server strictly separated.

    • @aissa-dev1
      @aissa-dev1 7 หลายเดือนก่อน

      @@BRBS360 Same here

    • @malachiconstant2756
      @malachiconstant2756 7 หลายเดือนก่อน +9

      Never been more grateful I went all in on remix/react router. I can’t imagine having to deal with all these shenanigans

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

      React Router: The return of the King 👑⚛️

    • @MrPogi-lf5gz
      @MrPogi-lf5gz 7 หลายเดือนก่อน

      it's not even out yet

  • @TheMindfulCraftsman
    @TheMindfulCraftsman 6 หลายเดือนก่อน +7

    Hi Kyle, I think you nailed it in this video. After 25 yrs of programming I never got the built-in caching strategy of Next. It is also best practice in virtually all environments to cache purely for optimization reasons and never as default bevavior. Hope the Next.js team reconsiders and requires opt-in for *all* types of caching in RC 15.

  • @0-Will-0
    @0-Will-0 7 หลายเดือนก่อน +16

    I have a lot of love for Vue SSR behind a Varnish cache. Simple to code in and simple setup.

  • @TheOnceAndFutureDoug
    @TheOnceAndFutureDoug 7 หลายเดือนก่อน +10

    Looking forward to the inevitable upcoming video on Next 15 caching strategies. :D

  • @luffythestrchykid
    @luffythestrchykid 7 หลายเดือนก่อน +13

    New version of NEXT JS basically means update yourself and climb a cliff and then expect most of the things to break .ie. jump of that cliff

    • @brainites
      @brainites 7 หลายเดือนก่อน +1

      🤣

  • @하경-e7z
    @하경-e7z 7 หลายเดือนก่อน +3

    Thanks u kyle
    I was facing this problem and I finally found the answer through your video 😊
    God bless u man🎉

  • @atimney
    @atimney 7 หลายเดือนก่อน +6

    I agree this is confusing, but the example is contrived, if your doing crud then you will need to invalidate the path which will be obvious when your working with it, also if you need specific catch scenarios your going to think about these, but agreed this will catch out some developers. Keep up the good work man

  • @chris94kennedy
    @chris94kennedy 7 หลายเดือนก่อน +44

    fucking front end is a mess. So glad I rarely develop in React, and mostly work on the backend outside of metaframeworks and focused on DICOM. In this role I now manage to completely avoid this shitshow, I honestly feel bad for you guys for having to suck this up.
    I miss when the debate was as simple as being about lifecycle methods and whatnot. This is wild.

    • @ParwinderSingh-te7lb
      @ParwinderSingh-te7lb 7 หลายเดือนก่อน +9

      To top it up now so much job layoffs .kids have to learn all this shit on top of sht and still getting no jobs.. despicable

    • @chris94kennedy
      @chris94kennedy 7 หลายเดือนก่อน +3

      @@ParwinderSingh-te7lb yeah. something's not right here.

    • @chris94kennedy
      @chris94kennedy 7 หลายเดือนก่อน +2

      chaos is the word

    • @marcuss.abildskov7175
      @marcuss.abildskov7175 7 หลายเดือนก่อน +1

      Use Angular. Problem solved

    • @AvikNayak_
      @AvikNayak_ 7 หลายเดือนก่อน +5

      ​@@ParwinderSingh-te7lb One of the worst decisions in life is to get into front end dev right now. I wonder how people are keeping up with all the frequent updates.

  • @AK-ij4qf
    @AK-ij4qf 7 หลายเดือนก่อน +6

    Goddamn everyday I become a little closer to migrating my entire month-old project to vite React + React Router instead of this cesspool

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

      DX is even worse in React Router 7. Especially when you need to use a server action from a client component. Have to use loader or UseFetcher which is way more complex than NextJS

  • @qwerty-or1yg
    @qwerty-or1yg 7 หลายเดือนก่อน +29

    Honestly, I've just stopped using next a while ago, been working with angular in my day job and now I'm just using it for all of my side projects as well. So much more enjoyable to code and no need to deal with all that mess next.js provides

    • @null_spacex
      @null_spacex 7 หลายเดือนก่อน +8

      Dude 🤢🤮

    • @qwerty-or1yg
      @qwerty-or1yg 7 หลายเดือนก่อน

      @@null_spacex just because you hate it doesn’t mean it’s bad. Once you get the hang of it, it becomes really enjoyable to work with it. All these jr. devs are jumping in on what’s popular these days and hate what people love to hate without even trying out the tools. That’s a sad reality front-end development has been in for a while now.

    • @qwerty-or1yg
      @qwerty-or1yg 7 หลายเดือนก่อน +6

      @@null_spacex just because you dislike it doesn't mean it's shit. Each to their own. Once you get the hang of it, everything is pretty straightforward

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

      @@qwerty-or1yg I feel the same way about Next

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

      What about back-end?

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

    With next js Frontend development is becaming rocket science, I miss Nuxt 😢

  • @sean1334
    @sean1334 7 หลายเดือนก่อน +4

    As a react developer wanting to learn NextJS, this problem with 14 made me scrap the whole thing and switch back to regular react in my latest project. Might try again with NextJS 15 now that I understand the behavior from your video!

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

      😂😂😂 I can relate

  • @siya.abc123
    @siya.abc123 7 หลายเดือนก่อน +17

    I'm going back to Nuxt and Vue. It's stable now. This relationship with react and next is too toxic now.

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

      Exactly. Nextjs is an infection to React. The React guys should stay the hell away from the Vercel guys if they still need to be relevant in 2 years.

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

      😂😂 my thoughts too, I came from nuxt/Vue to react because of the job market

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

      @@kevinisaac4958 Bingo my brother! Vue + Nuxt is the way. So much better DX & performance compared to that shitty Next.js...

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

      Exactly😂🤦‍♂️if there are any react developer is reading this, at first i was so hesitant to try out vue 3 and thought nothing can beat react, now it has been more than 3 years and i havent used nothing but vue/nuxt for all my work/side rpojects, this has been the best decision i have made and i encourage you to do so, i mean at this point its for your own benefits tbh

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

      ​@@kevinisaac4958 if it is the problem then why aren't people moving to remix

  • @codinginflow
    @codinginflow 7 หลายเดือนก่อน +1

    I actually liked the default client-side router cache. It made navigation within the app very fast. But I guess you can't please everyone.

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

      Was geht Bruder

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

      @@Bilo_7 was geht bei dir

  • @abacuz
    @abacuz 5 หลายเดือนก่อน +1

    one thing I don't understand with this reasoning, on a page that is going to just hafve static content, why would you even want it to render dynamically?

  • @felipefregginrules
    @felipefregginrules 7 หลายเดือนก่อน +1

    Does the force dynamic work on the pages router?

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

    I'm one of the few people that actually don't mind having pages static by default. I just hope they added easier ways to determine whether a page is static or not.

  • @golden_smiles
    @golden_smiles 7 หลายเดือนก่อน +4

    Front end in general is OK. Just don't lock to the shitty hypie technologies to get to the point when they go even shittier. It was a lot of signals about this situation before on NextJS.

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

    I went to set up a project yesterday and asked for the y on tailwind, it produced not config or post css and when I installed afterwards it still wouldn’t connect. Almost given up using next because it’s constant issues on build

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

    this version 15 is insane ahahaha, love you Kyle

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

    appreciate the clip bro - keep up the good work

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

    In short, they are giving the developer more control on what to cache and what not to cache by removing all the default caching strategies which was going on in next14. Which solves the confusion regarding what is being cached and what is not as the developer has to set the caching behavior manually now.

  • @CodeXBro
    @CodeXBro 7 หลายเดือนก่อน +2

    Next week's updates: Launching Next.js 16 fixing another something about caching and forgetting about a broken v14 and v15. Honestly, I have been struggling so much with weird issues in Next.js and unable to move fast in developing one of my side projects that's not even complex. I tried hard to do it in Next.js because the React team is pushing it towards it and I am comfortable writing React code. But I am starting to think of either moving to another framework like Remix or Nuxt or go React + Vite route.

    • @marcuss.abildskov7175
      @marcuss.abildskov7175 7 หลายเดือนก่อน +2

      If you wanna stick with React I would definitely go the Remix/React Router way

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

      @@marcuss.abildskov7175 Hi thanks for your reply. Are you personally using Remix? What are your thoughts on after a horrible experience with Next? Is it more stable and will it remain stable and up o date in the upcoming days as yo u know React 19 is coming and React Team and Next team are working together but Remix is not involved in that sense.

  • @tuancao85
    @tuancao85 7 หลายเดือนก่อน +1

    Another amazing explanation. Thanks Kyle!

  • @codeinProjects3295
    @codeinProjects3295 7 หลายเดือนก่อน +4

    redux is not working with react 19 and nextjs 15 , can you make a video on it ?

    • @marcuss.abildskov7175
      @marcuss.abildskov7175 7 หลายเดือนก่อน

      Why are you using Redux in 2024?

    • @Bazan-gd3lb
      @Bazan-gd3lb 7 หลายเดือนก่อน

      @@marcuss.abildskov7175 because redux is great data flow manager, its not only global state container. What is alternative for redux today?

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

      ​@@marcuss.abildskov7175what should he use then??

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

      ​@@marcuss.abildskov7175What's the best alternative solution?

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

      @@marcuss.abildskov7175redux toolkit is good though

  • @nishantmogha7550
    @nishantmogha7550 7 หลายเดือนก่อน +19

    Switched to Remix life is much simpler now 😊

    • @looming_
      @looming_ 7 หลายเดือนก่อน +6

      Good luck convincing your team

    • @nishantmogha7550
      @nishantmogha7550 7 หลายเดือนก่อน +34

      I am the team

    • @ParwinderSingh-te7lb
      @ParwinderSingh-te7lb 7 หลายเดือนก่อน

      @@nishantmogha7550 yeah but the point stands I want to learn remix but all I see is nextjs jobs

    • @xytric8245
      @xytric8245 7 หลายเดือนก่อน +5

      Same, stopped using Next after using it for 2 years a couple months ago because I got so tired of debugging the framework. Remix is in my opinion so much simpler and more enjoyable to use. Also vite for the dev server and build tool is a lot nicer and speeds up CI/CD and development by more than I expected it to. Next dev server and build process is atrociously slow for large projects.

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

      Remix is dead now

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

    Can someone tell me what is the default revalidation time in next js 14 fetch request, if I don't assign any revalidation in it.

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

    Thanks for this excellent video. Is the v15 doc already available?
    Our projects are heavily cached-based so we MUST trace every renders and every call and choose what to do with every single piece of sw

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

    What about using const revalidate...?

  • @fanush3754
    @fanush3754 7 หลายเดือนก่อน +1

    I've ran into the same issues as I'm currently working on a frontend application that was connected to a headless CMS. I have a blog page where everything was working fine in development, as I added a new blog, it was being displayed in my frontend, but as soon as I pushed it live, that was no longer the case. The way I fixed it ( and I'm not entirely sure it's a good idea) is setting revalidate:0 on my fetch function. Is this a good practice?

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

      That's the way it gets fixed. What it simply means is that the page details are fetched newly whenever the page is opened.

  • @EinChris75
    @EinChris75 7 หลายเดือนก่อน +8

    I'm old... I am still stuck with php for my personal page.
    It works like it did 20 years ago. Almost the same code, but now on php 8.
    For professional work, fortunately, I do not have to do web stuff very often.
    But that looks so f-ed up. Is this really state of the art?
    I thought writing cgis with perl was terrible. But that is even worse.
    Where is the benefit from that? What is the advantage? It all looks so crappy.

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

    Your voice is so deep 😍😍 I can't concentrate

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

    Eminem: I am the fastest ❌ Web Dev Siimplified: ✅

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

    Everyone is singing the praise of Next.JS 15. I am confused why they did not highlight these issues like you did.

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

    I lost whole day because of this. I'll wait on next 15 on jump back to Remix. Thank you!

  • @jimmymac601
    @jimmymac601 7 หลายเดือนก่อน +2

    If it isn't already, caching should be set at the route level. Some routes operate just fine with caching and others do not.

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

    i new to next js tbh im abit confuse how caching works compare to vinailla react js

  • @dbred67
    @dbred67 2 หลายเดือนก่อน +1

    I suspect the push to caching is to reduce costs on Vercel.

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

    I have actually moved away from Nextjs because of these reasons. But in v15, do we need to ”force-dynamic” on the route to make the new fetch to work as expected - or can we just use useNoStore at fetch function level to make the route not staticly rendered?

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

    Does anyone have repo with these test examples so I can play myself ?

  • @AAfzal-lk2nf
    @AAfzal-lk2nf 7 หลายเดือนก่อน

    Hey Kyle 👋, I've been watching your content for 2 years now, I have learned so many things about web development from you, can you please make videos on projects, I think learning things is important but it is of no use if you don't apply it, so please make videos on project

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

      videos on projects won't help find something your passionate about and jump into it. try coding for month staright and see what happens! will you get stuck, will you get even more motivated after a month, who knows... just do it and find out!

    • @AAfzal-lk2nf
      @AAfzal-lk2nf 7 หลายเดือนก่อน

      @macctosh I've done coding for 6 months now, and I feel the urge to build cool projects with the things I've learned, but I don't seem to find any interesting projects here on TH-cam🤷‍♂️

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

    We just started nextjs in monorepo. Is anything good in v15?

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

      React 19, so react compiler

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

    Great video. I don not use next.js. But it is a common phenomenon in recent years that new stuff comes up that is supposed to make your life easier but effectively it lowers productivity, stability and maintainability. Examples: hot reload in VS. Rarely ever works. Often leads into debugging not your real code but some old code. Python is another great example. We will all suffer in the future maintaining Millions of lines of code written in Python without any type safety and HORRIBLE coding practices.

  • @hannesz6322
    @hannesz6322 7 หลายเดือนก่อน +3

    I don't know if this kind of tutorial already exists from you, but im very interestet in building a simple next.js app but with a express backend - How to create, connect, send cookies to the Client, and all that stuff. :D
    Your Tutorails help me a lot to improve my skills :D

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

      why use next with node? just use vite

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

      next is a fullstack framework tho. do you mean a simple react UI with express backend?

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

      @@chris94kennedy Hi, he's just uses Next UI and Express Backend

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

      @@hannesz6322 think you're confusing Next UI with nextjs, they're different

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

    Could you create a video about Atlassian's new framework-agnostic, low-level dnd library called "pragmatic-drag-and-drop"?

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

    What browser are you using?

    • @lasse-mo
      @lasse-mo 7 หลายเดือนก่อน

      Arc

  • @Muphet
    @Muphet 7 หลายเดือนก่อน +2

    every version: we broke nextjs

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

    Should I just learn PHP at this point? I kinda want a predictable framework

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

    i’m recently thinking about switching framework. guys what should i pick vue or angular either just stay with next js

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

      You can't go wrong with Vue + Nuxt.js bro!

    • @paolo-e-basta
      @paolo-e-basta 7 หลายเดือนก่อน

      @@wielomarian the last time I tried to re-evaluate that combo (recently), which at this point I'd prefer over all the others, I got a bunch of issue with language server in vs code, and that sucks. DX is important and hope they'll provide some sort of improvements. It's seems unreal that their vscode extension, officially recommended on vuejs site is so bad. Or am I missing something?

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

    Love the video. 🎉

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

    Hi can you please make a course on React and NodeJs

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

    Vercel: "My job is to make the web complicated for you so that we can make money😉"

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

    I suspect these behaviors might even be different depending on if you're using SSR vs SSG. I'd guess your project is configured as SSG?

  • @e_tas_
    @e_tas_ 7 หลายเดือนก่อน +4

    I think the practical strategy for using NextJS is like buying an iPhone. If the newest iPhone is a 10 and you want a new phone, buy the 9 because it's cheaper and almost just as good. In this case... maybe it's best to stick to NextJS 13. Seems like 14 and 15 aren't mature enough, and 15 is basically v14-2.0.

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

    I guess you can force not to cache. The cache would work for some sites where we really need it

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

    I guess if you have the fetch request in a .ts file instead of writing it in the page.tsx, it will work dynamically without having to specify that.

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

    Exactly my thoughts too. I am starting to completely hate server side as a whole, not just nextjs caching. It's all unpredictable and unuitive behavior. Client side is much more predictable, just have a loading spinner till everything is loaded and then the user has a smooth experience and the code looks beter

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

    Thanks a lot❤

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

    Am using nextjs v12 and am not changing up anytime soon.

  • @ParwinderSingh-te7lb
    @ParwinderSingh-te7lb 7 หลายเดือนก่อน +1

    Hey 1st comment. Caching is their kryptonite. Never learnt nextjs .. remix I have set my eyes on or astro. But to be real I am tired of these things alltogether. Need a break 😭

  • @ChichaGad
    @ChichaGad 7 หลายเดือนก่อน +3

    Solid JS is the future

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

      Hope Inertia will support Solid JS soon so we can have a sane front-end development and use Laravel to have a sane back-end development

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

    Time to hit the doc and real entire thing again

  • @m12652
    @m12652 7 หลายเดือนก่อน +1

    I tried nextjs once, I don't get the attraction. Admittedly it was someone else's code, something from Edgedb, but the performance sucked and the dev folder was close to 1gb. A simple tiny no-framework node app blew it out of the water for some reason. Query response times dropped by about 30ms without next.

  • @kaksarkar
    @kaksarkar 7 หลายเดือนก่อน +3

    This is a fucking mess I regret every time I use next.js every time there is something that just don't make any sense

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

    What really suck is that if you want to send notifications from next(server side) to a client, YOU NEED TO PAY for a service like pusher or code a node server, this part of serverless really suck... and they never mention this. So for big apps you still need Node 💁

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

      NextJS 15 especially solved this, right?

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

      What do you mean with "notifications"?

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

      @@upsxace sending actions from the server to the client

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

      @@pablom8854 ah i see. Well, they shouldn't have to mention that you need a server for something like that. What you're talking about either needs websockets or cron jobs or both, and a serverless environment never excels at those. And you don't necessarily need node/common server, but you will at least need a rabbitmq server in the end, so yeah, there is always a server involved.

  • @KiloSierra1
    @KiloSierra1 7 หลายเดือนก่อน +18

    I honestly can't believe everyone isn't over NextJS yet. It started off good then rapidly went downhill.

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

      Sadly its promoted by React itself. NextJS is just a bugy mess

    • @ellisj98
      @ellisj98 7 หลายเดือนก่อน +2

      people just need to stop using react

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

      @@ellisj98 yeah, Im starting to look into Angular, but is not so easy when huge part of web FE runs on React,

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

      ⁠@@ellisj98pays big bucks + it is easy for me

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

      what do you recommend instead?

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

    I wish vue (nuxt) or remix had as big community as next js. Then I’d switch to nuxt or remix immediately. But let’s be honest: no matter how much madness comes in next js we will stil use it. Because good luck finding good libs for mid size + projects if you are using svelte or smth like that…

  • @bibekganesh8255
    @bibekganesh8255 7 หลายเดือนก่อน +2

    "You saved me just in time! I had been stuck on this problem for four days. Thank you so much!"🤩🤩🤩❤️

    • @Adityacode
      @Adityacode 7 หลายเดือนก่อน +1

      You could have learned a new framework like remix in 4 days

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

      ​@@Adityacode yeah i could, but had no choice, except solving, have gone far with my project.

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

    I'm just waiting for Svelte 5. Once it become stable, I will never come back to the Next.js

  • @PraiseYeezus
    @PraiseYeezus 7 หลายเดือนก่อน +1

    Can you check whether the same behavior works if you pass the evaluated number to a variable instead of calling it directly? e.g. const num = Math.random {num}
    I'm wondering whether the `Object.is` comparison is messing with the caching somehow...directly returning an invoked function inside JSX isn't good practice, so if it only happens in this instance I think that's acceptable behavior.

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

    I agree that this is less than ideal. However, this seems to be very much an issue that can be addressed in future releases and should not taint the overall rating of the framework drastically.

  • @sagart00100
    @sagart00100 7 หลายเดือนก่อน +1

    it was already difficult learning nextjs .not again ...

  • @pyquix8576
    @pyquix8576 7 หลายเดือนก่อน +5

    Next and Typescript are killing react 😴

    • @youarethecssformyhtml
      @youarethecssformyhtml 6 หลายเดือนก่อน +3

      TypeScript is improving it and people who say otherwise have skill issues as it's easy as well

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

      @@youarethecssformyhtml Oh yeah the "skill issue guy". Tell it to DHH. Now people love to code masturbate just to feel good about themselves. Skill issue is if you can't code without type hint, though it's a convenient feature but not if I have to scaffold it, ide should. I'd say improve your core and enjoy the experience of dynamic typing. You want static typed? Why use fake one, build with c# and stop polluting js.

    • @JM-st1le
      @JM-st1le 4 หลายเดือนก่อน

      Typescript? How?

  • @thedailycutline278
    @thedailycutline278 7 หลายเดือนก่อน +1

    nextjs 15 is not even released, this video might make u think it's released, why are you complaining about something that still in development?

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

    Yeah day by day it just pushes me more into HTMX + Ocaml stack

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

    I thought they were doing away with the need for using force-dynamic in Next.js 15, seems not to be the case. Boggles the mind.

  • @viewpoint8976
    @viewpoint8976 7 หลายเดือนก่อน +4

    Let me comment here From Namibia 🇳🇦

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

    What do you mean next 15??? 14 isnt even fully supported yet.........

  • @kashnigahbaruda
    @kashnigahbaruda 7 หลายเดือนก่อน +1

    Remix is superior. Nextjs defaults are still retarded and broken. Static page generation should obviously be opt-in, not forcing people to dig around in docs for hours to debug what's going on.

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

    im using dynamic import in the page and its conflicting lmaoo

  • @eleah2665
    @eleah2665 7 หลายเดือนก่อน +5

    Go Remix.

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

      Reached its end of life now, focus is on React router

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

    You could’ve highlighted the active links, don’t make it more frustrating.

  • @guanbo-yang
    @guanbo-yang 7 หลายเดือนก่อน +2

    Hi Kyle, I am a Next.js developer, and I was just wondering why you use a GET request if you know your data will be dynamic. Isn't the GET request supposed to be cached by the browser unless you specify cache-related headers?

    • @lasse-mo
      @lasse-mo 7 หลายเดือนก่อน +1

      GET is for getting data w/o modifying it

    • @hnccox
      @hnccox 7 หลายเดือนก่อน +1

      How else would you GET your data?

    • @guanbo-yang
      @guanbo-yang 7 หลายเดือนก่อน

      I don't think a GET request is suitable for something so dynamic and crucial to remain dynamic. Perhaps a POST request is more appropriate in this context because it clearly indicates that the endpoint performs an operation that can yield different results each time it's called.

    • @schular94
      @schular94 7 หลายเดือนก่อน +2

      ​@@guanbo-yang It makes 100% sense to be a GET, as it is for retrieving data without any modifications, even if this data is dynamic, for example you want to retrieve user's information, this is going to be a GET and it is dynamic, as each user would have a different data set based on the token (user identifier) sent fron client. Caching a GET makes sense, but in the end it's not a general rule, some things you might not want to cache, it really depends on each specific situation.
      You should check the REST API verb conventions and see what's the meaning of them as these are some good standards put in place for quite a long time.

    • @hnccox
      @hnccox 7 หลายเดือนก่อน +1

      @@guanbo-yang maybe you should read up on the different HTTP request methods and what their purpose are

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

    I’m just gonna stick with Vite + Tanstack router for now

  • @VeitLehmann
    @VeitLehmann 7 หลายเดือนก่อน +2

    Next.js is becoming the new Java. Used by enterprises, not something many would choose for personal stuff. And, of course: Write once, debug everywhere.

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

      Java is robust and changes very little. So, post can be summed up as "Tell me you don't know squat about Java without telling me"

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

      @@punsmith Oh yes, you're totally right. It was just a joke anyway. The only thing that doesn't change with Next.js are the cached responses 😉

  • @aqibmalik6313
    @aqibmalik6313 7 หลายเดือนก่อน +2

    hey kyle love you and your work ❤❤❤
    Happy Eidul Adha

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

      Get marry with him

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

    You see why I'm still on next v 12

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

    Ever since I started hearing about NextJs there's always some issue or some update. Always. Ts a pass for me.

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

    This feel like or looks like trolling, on njs end lol

  • @Zagoorland
    @Zagoorland 7 หลายเดือนก่อน +2

    Me laughs in SvelteKit

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

    I switched to Remix. I don't like the way they do things.

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

    i just made a webapp and i'm still on Next 13 pages router, worry free

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

    A big F U to whoever wanted to play with developers using caching. Back to simple react.

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

    Why waste time using Next.js when you have Frameworks like Nuxt and Sveltekit

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

    Is that safari 😆

  • @jellyfish1772
    @jellyfish1772 7 หลายเดือนก่อน +1

    Why is everyone using theos browser 😤😤😤😤

    • @null_spacex
      @null_spacex 7 หลายเดือนก่อน +1

      You’re kidding right lol

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

      @@null_spacex no seriously. Why🐸

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

      @@null_spacexnope i’m wondering too