Next.js 15 Ruins Caching Even More

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 258

  • @WebDevSimplified
    @WebDevSimplified  5 месяцев назад +3

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

  • @incrypted607
    @incrypted607 5 месяцев назад +204

    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 5 месяцев назад

      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 5 месяцев назад +2

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

    • @kevinisaac4958
      @kevinisaac4958 5 месяцев назад +18

      @@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 5 месяцев назад +4

      @@ChichaGad Some say Svelte after its upgrade xD

    • @curiouslycory
      @curiouslycory 4 месяца назад +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.

  • @zelli840
    @zelli840 3 месяца назад +22

    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 28 дней назад +1

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

  • @Ivan-wm6gm
    @Ivan-wm6gm 5 месяцев назад +108

    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 5 месяцев назад +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 5 месяцев назад

      @@BRBS360 Same here

    • @malachiconstant2756
      @malachiconstant2756 5 месяцев назад +10

      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 5 месяцев назад +7

      React Router: The return of the King 👑⚛️

    • @MrPogi-lf5gz
      @MrPogi-lf5gz 5 месяцев назад

      it's not even out yet

  • @0-Will-0
    @0-Will-0 5 месяцев назад +16

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

  • @TheMindfulCraftsman
    @TheMindfulCraftsman 4 месяца назад +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.

  • @dcd_music
    @dcd_music 4 месяца назад +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!

  • @qwerty-or1yg
    @qwerty-or1yg 5 месяцев назад +30

    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 5 месяцев назад +8

      Dude 🤢🤮

    • @qwerty-or1yg
      @qwerty-or1yg 5 месяцев назад

      @@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 5 месяцев назад +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 5 месяцев назад

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

    • @govindamishra3746
      @govindamishra3746 5 месяцев назад

      What about back-end?

  • @chris94kennedy
    @chris94kennedy 5 месяцев назад +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 5 месяцев назад +8

      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 5 месяцев назад +2

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

    • @chris94kennedy
      @chris94kennedy 5 месяцев назад +2

      chaos is the word

    • @marcuss.abildskov7175
      @marcuss.abildskov7175 5 месяцев назад +1

      Use Angular. Problem solved

    • @AvikNayak_
      @AvikNayak_ 5 месяцев назад +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.

  • @luffythestrchykid
    @luffythestrchykid 5 месяцев назад +12

    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

  • @TheOnceAndFutureDoug
    @TheOnceAndFutureDoug 5 месяцев назад +10

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

  • @atimney
    @atimney 5 месяцев назад +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

  • @danish2462
    @danish2462 Месяц назад

    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.

  • @georgemwaniki
    @georgemwaniki 5 месяцев назад +7

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

  • @siya.abc123
    @siya.abc123 5 месяцев назад +16

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

    • @kevinisaac4958
      @kevinisaac4958 5 месяцев назад +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 5 месяцев назад

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

    • @wielomarian
      @wielomarian 5 месяцев назад

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

    • @_iyoub
      @_iyoub 5 месяцев назад

      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_ 5 месяцев назад

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

  • @하경-e7z
    @하경-e7z 4 месяца назад +3

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

  • @codinginflow
    @codinginflow 5 месяцев назад +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 5 месяцев назад

      Was geht Bruder

    • @codinginflow
      @codinginflow 5 месяцев назад

      @@Bilo_7 was geht bei dir

  • @Flash136
    @Flash136 5 месяцев назад +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.

  • @CodeXBro
    @CodeXBro 5 месяцев назад +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 5 месяцев назад +2

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

    • @CodeXBro
      @CodeXBro 5 месяцев назад

      @@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.

  • @nishantmogha7550
    @nishantmogha7550 5 месяцев назад +20

    Switched to Remix life is much simpler now 😊

    • @looming_
      @looming_ 5 месяцев назад +6

      Good luck convincing your team

    • @nishantmogha7550
      @nishantmogha7550 5 месяцев назад +34

      I am the team

    • @ParwinderSingh-te7lb
      @ParwinderSingh-te7lb 5 месяцев назад

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

    • @xytric8245
      @xytric8245 5 месяцев назад +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 5 месяцев назад

      Remix is dead now

  • @sean1334
    @sean1334 5 месяцев назад +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 4 месяца назад

      😂😂😂 I can relate

  • @golden_smiles
    @golden_smiles 5 месяцев назад +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.

  • @SukoonBeautifulMusic
    @SukoonBeautifulMusic 5 месяцев назад

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

  • @nothingisreal6345
    @nothingisreal6345 4 месяца назад

    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.

  • @AK-ij4qf
    @AK-ij4qf 4 месяца назад +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 День назад

      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

  • @graphiclife5416
    @graphiclife5416 Месяц назад

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

  • @EinChris75
    @EinChris75 5 месяцев назад +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.

  • @tuancao85
    @tuancao85 5 месяцев назад +1

    Another amazing explanation. Thanks Kyle!

  • @dbred67
    @dbred67 18 дней назад +1

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

  • @piscopancer
    @piscopancer 5 месяцев назад

    this version 15 is insane ahahaha, love you Kyle

  • @ts8960
    @ts8960 28 дней назад

    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

  • @jimmymac601
    @jimmymac601 5 месяцев назад +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.

  • @ollienicholson
    @ollienicholson 2 месяца назад

    appreciate the clip bro - keep up the good work

  • @hannesz6322
    @hannesz6322 5 месяцев назад +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 5 месяцев назад

      why use next with node? just use vite

    • @chris94kennedy
      @chris94kennedy 5 месяцев назад

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

    • @hannesz6322
      @hannesz6322 5 месяцев назад

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

    • @chris94kennedy
      @chris94kennedy 5 месяцев назад

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

  • @bibekganesh8255
    @bibekganesh8255 5 месяцев назад +2

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

    • @Adityacode
      @Adityacode 5 месяцев назад +1

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

    • @bibekganesh8255
      @bibekganesh8255 5 месяцев назад

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

  • @AAfzal-lk2nf
    @AAfzal-lk2nf 5 месяцев назад

    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 5 месяцев назад

      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 5 месяцев назад

      @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 RUclips🤷‍♂️

  • @felipefregginrules
    @felipefregginrules 5 месяцев назад +1

    Does the force dynamic work on the pages router?

  • @codeinProjects3295
    @codeinProjects3295 5 месяцев назад +5

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

    • @marcuss.abildskov7175
      @marcuss.abildskov7175 5 месяцев назад

      Why are you using Redux in 2024?

    • @Bazan-gd3lb
      @Bazan-gd3lb 5 месяцев назад

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

    • @kashmirtechtv2948
      @kashmirtechtv2948 5 месяцев назад

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

    • @charleschukwuemeka8482
      @charleschukwuemeka8482 5 месяцев назад

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

    • @subhamsubian6677
      @subhamsubian6677 4 месяца назад

      @@marcuss.abildskov7175redux toolkit is good though

  • @ParwinderSingh-te7lb
    @ParwinderSingh-te7lb 5 месяцев назад +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 😭

  • @abacuz
    @abacuz 3 месяца назад +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?

  • @e_tas_
    @e_tas_ 5 месяцев назад +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.

  • @nnokki
    @nnokki 5 месяцев назад

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

  • @alexandertarasenko3038
    @alexandertarasenko3038 5 месяцев назад

    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…

  • @goncaloshred
    @goncaloshred 5 месяцев назад

    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.

  • @chandrakanthchintada8029
    @chandrakanthchintada8029 5 месяцев назад

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

  • @chamilajayasinghe346
    @chamilajayasinghe346 День назад

    Thanks a lot❤

  • @aqibmalik6313
    @aqibmalik6313 5 месяцев назад +2

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

  • @melvin4829
    @melvin4829 5 месяцев назад

    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

  • @realtebo
    @realtebo 3 месяца назад

    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

  • @harvindersingh9170
    @harvindersingh9170 19 дней назад

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

  • @doppeltevier
    @doppeltevier 5 месяцев назад

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

  • @fanush3754
    @fanush3754 5 месяцев назад +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 5 месяцев назад

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

  • @krtirtho
    @krtirtho 5 месяцев назад

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

  • @St0rMsk
    @St0rMsk 5 месяцев назад

    Love the video. 🎉

  • @kasper369
    @kasper369 5 месяцев назад

    Time to hit the doc and real entire thing again

  • @pablom8854
    @pablom8854 5 месяцев назад

    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 5 месяцев назад

      NextJS 15 especially solved this, right?

    • @upsxace
      @upsxace 5 месяцев назад

      What do you mean with "notifications"?

    • @pablom8854
      @pablom8854 5 месяцев назад

      @@upsxace sending actions from the server to the client

    • @upsxace
      @upsxace 4 месяца назад

      @@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.

  • @namandeepnegi1709
    @namandeepnegi1709 4 месяца назад

    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.

  • @hledaczvirat_cz
    @hledaczvirat_cz 5 месяцев назад +1

    Better to use Pages in Next

  • @holgerflick
    @holgerflick 5 месяцев назад

    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.

  • @charleschukwuemeka8482
    @charleschukwuemeka8482 5 месяцев назад

    What about using const revalidate...?

  • @kaksarkar
    @kaksarkar 5 месяцев назад +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

  • @curiouslycory
    @curiouslycory 4 месяца назад

    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?

  • @Muphet
    @Muphet 5 месяцев назад +2

    every version: we broke nextjs

  • @utkuonursahin1237
    @utkuonursahin1237 5 месяцев назад

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

  • @rationalindianguy
    @rationalindianguy 5 месяцев назад

    Hi can you please make a course on React and NodeJs

  • @ransomecode
    @ransomecode Месяц назад

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

  • @andrewwachira1
    @andrewwachira1 5 месяцев назад

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

  • @ChichaGad
    @ChichaGad 5 месяцев назад +3

    Solid JS is the future

    • @luznoceda423
      @luznoceda423 5 месяцев назад

      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

  • @eleah2665
    @eleah2665 5 месяцев назад +6

    Go Remix.

    • @xxXAsuraXxx
      @xxXAsuraXxx 5 месяцев назад

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

  • @sagart00100
    @sagart00100 5 месяцев назад +1

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

  • @funfstuck
    @funfstuck 5 месяцев назад

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

    • @wielomarian
      @wielomarian 5 месяцев назад

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

    • @paolo-e-basta
      @paolo-e-basta 5 месяцев назад

      @@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?

  • @irom77
    @irom77 4 месяца назад

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

  • @snivels
    @snivels 4 месяца назад

    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.

  • @iPankBMW
    @iPankBMW 5 месяцев назад

    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?

  • @FrontendFanatic
    @FrontendFanatic 5 месяцев назад

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

  • @pyquix8576
    @pyquix8576 5 месяцев назад +5

    Next and Typescript are killing react 😴

    • @unknownguywholovespizza
      @unknownguywholovespizza 4 месяца назад +3

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

    • @pyquix8576
      @pyquix8576 4 месяца назад

      @@unknownguywholovespizza 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 2 месяца назад

      Typescript? How?

  • @M1a2n3o43
    @M1a2n3o43 5 месяцев назад

    What browser are you using?

  • @tajamalrafiq3651
    @tajamalrafiq3651 5 месяцев назад

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

    • @lazymass
      @lazymass 5 месяцев назад

      React 19, so react compiler

  • @geelemo
    @geelemo 4 месяца назад

    You see why I'm still on next v 12

  • @monarchgam3r
    @monarchgam3r 5 месяцев назад

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

  • @viewpoint8976
    @viewpoint8976 5 месяцев назад +4

    Let me comment here From Namibia 🇳🇦

  • @VeitLehmann
    @VeitLehmann 5 месяцев назад +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 5 месяцев назад

      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 5 месяцев назад

      @@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 😉

  • @umusilimu
    @umusilimu 5 месяцев назад

    I must switch to astro or react-router v7

  • @hvwong2044
    @hvwong2044 3 месяца назад

    yes, caching is confusing for me in next14

  • @thedailycutline278
    @thedailycutline278 5 месяцев назад +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?

  • @Nscb1947
    @Nscb1947 5 месяцев назад

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

  • @PraiseYeezus
    @PraiseYeezus 5 месяцев назад +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.

  • @m12652
    @m12652 5 месяцев назад +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.

  • @kashnigahbaruda
    @kashnigahbaruda 5 месяцев назад +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.

  • @KiloSierra1
    @KiloSierra1 5 месяцев назад +18

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

    • @FeFeronkaMetallica
      @FeFeronkaMetallica 5 месяцев назад +7

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

    • @ellisj98
      @ellisj98 5 месяцев назад +2

      people just need to stop using react

    • @FeFeronkaMetallica
      @FeFeronkaMetallica 5 месяцев назад

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

    • @gcash49
      @gcash49 5 месяцев назад

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

    • @funfstuck
      @funfstuck 5 месяцев назад

      what do you recommend instead?

  • @yashchauhan5710
    @yashchauhan5710 2 месяца назад

    im using dynamic import in the page and its conflicting lmaoo

  • @frinno_io
    @frinno_io 4 месяца назад

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

  • @dj10schannel
    @dj10schannel 5 месяцев назад

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

  • @Zagoorland
    @Zagoorland 5 месяцев назад +2

    Me laughs in SvelteKit

  • @nikmat
    @nikmat 5 месяцев назад

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

  • @jeffreyjdesir
    @jeffreyjdesir 5 месяцев назад

    "Whatever happened to predictability..."

    • @jeffreyjdesir
      @jeffreyjdesir 5 месяцев назад

      "JS & CSS... a little PHP!"

  • @justine_chang39
    @justine_chang39 4 месяца назад

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

  • @MrPogi-lf5gz
    @MrPogi-lf5gz 5 месяцев назад

    i'm learning Astro

  • @oladejiraji2919
    @oladejiraji2919 5 месяцев назад

    Is that safari 😆

  • @jellyfish1772
    @jellyfish1772 5 месяцев назад +1

    Why is everyone using theos browser 😤😤😤😤

    • @null_spacex
      @null_spacex 5 месяцев назад +1

      You’re kidding right lol

    • @jellyfish1772
      @jellyfish1772 5 месяцев назад

      @@null_spacex no seriously. Why🐸

    • @funfstuck
      @funfstuck 5 месяцев назад

      @@null_spacexnope i’m wondering too