Why did OpenAI move from Next.js to Remix?

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • Big hubub on ChatGPT moving from Next to Remix. But why? Here are my thoughts

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

  • @Kostrytskyy
    @Kostrytskyy 11 дней назад +358

    I want to believe that this is the start of dying for a hype "let's run everything on a server!". Suppose, OpenAI looked at a Vercel's bill and started to pull their hair off.

    • @WesBos
      @WesBos  11 дней назад +23

      Kind of interesting move since ChatGPT needs to render all kinds of stuff on the client and needs a package for each complex type. Syntax highlighting for example - some good demos where you just send back the highlighted HTML and don't need to load the highlighter package on the client.

    • @JagaSantagostino
      @JagaSantagostino 10 дней назад +9

      @@WesBosopenai is the kind of app that can takes even a 5sec splash screen and cache the huge bundle chunks, and nobody would call it slow

    • @WesBos
      @WesBos  10 дней назад +32

      ​@@JagaSantagostino and then users leave it open for 9 days straight - kinda like desktop/mobile apps.

    • @yassinesafraoui
      @yassinesafraoui 10 дней назад +8

      ​@@WesBosLol that's what I always do I always have a pinned chatgpt tab at least in one of my browser windows

    • @adamjones7497
      @adamjones7497 10 дней назад +4

      Odd flex. Client heavy UI isn’t good design unless absolutely necessary.

  • @dimitrisborbotsialos
    @dimitrisborbotsialos 6 дней назад +23

    Plot twist. Chat GPT wrote itself in Remix. Open AI devs don't even know.

  • @WesSouza
    @WesSouza 10 дней назад +74

    Bell curve meme, "just use express and react router / (one billion libs and frameworks) / just use express and react router"

  • @unseriousdev
    @unseriousdev 10 дней назад +8

    The “Vite” shoutout for me was the best part of this video!
    Great content, Bos!

  • @Snowi_93
    @Snowi_93 10 дней назад +9

    That's pretty smart! On CSR, sending a JSON to configure a new view, when all the JS needed is already downloaded, makes it the most minimal amount of info you can send back. I like it!

  • @jamesgphillips91
    @jamesgphillips91 11 дней назад +53

    I built my first chat ui several years ago. The changes in the Next.js ecosystem towards ssr are completely useless for chat bot stuff. It makes more sense to do client side to have streaming directly to the client from the inference services. I would imagine next to be total overkill for them.

    • @WesBos
      @WesBos  11 дней назад +20

      except Vercel has a large chat product called v0 where the server rendered parts really shine

    • @3litepker
      @3litepker 11 дней назад +2

      @@WesBos Hit the nail on the head

    • @jamesgphillips91
      @jamesgphillips91 10 дней назад +2

      @@WesBosI’ll take another look then. I feel like I’m missing something cause your example and the shining aren’t immediately clicking with me

    • @yashsolanki069
      @yashsolanki069 10 дней назад

      @@WesBos This is interesting

    • @nwsome
      @nwsome 10 дней назад +2

      If the stuff you stream is just text, then you are probably right.
      If you have a bunch of components that can be rendered based on the response (e.g. v0), then RSCs really shine

  • @maniacos9620
    @maniacos9620 10 дней назад +87

    All few months there is a "new hot shit" and everyone goes like "forget everything you've done and learn this new shit because otherwise you're lame".

    • @WesBos
      @WesBos  10 дней назад +27

      the most hilarious part is that Remix has already said its "going away" and turning back into react router

    • @thedelanyo
      @thedelanyo 10 дней назад

      ​@@WesBos they might then look into Sveltekit

    • @incarnateTheGreat
      @incarnateTheGreat 10 дней назад

      @@WesBos the loader function is embedded in the route children for createBrowserRouter.
      Honestly, I absolutely love it. Despite the file routing structure being somewhat complicated, it works very well.

    • @MrSargon1984
      @MrSargon1984 9 дней назад +4

      Incorrect. They said it will take a nap until RR7, but it is def not going away😂

  • @DEV_XO
    @DEV_XO 10 дней назад +7

    Remix is simply great, happy to see big companies adopting it!

  • @greendsnow
    @greendsnow 11 дней назад +34

    because Vercel bandwidth charges are outrageous and latest Nextjs is very hard on the bandwidth. like an ELEPHANT.

    • @Riverhill-AI
      @Riverhill-AI 10 дней назад +8

      Why do you think OpenAI is hosting ChatGPT on Vercel? I am a little confused.

    • @greendsnow
      @greendsnow 10 дней назад +4

      @@Riverhill-AI I didn't say that. I said Vercel's latest creation serves to make more money for the company by consuming more bandwidth, and OpenAI doesn't need to use it on any other hosting service while they can achieve the same without it. Also... this is an SPA, they don't need an SSR first framework.

  • @stachycodes
    @stachycodes 8 часов назад

    As you mentioned, using NextJS for such a client heavy application is like battling against its core idea of server first. I would say that if a web app is super interactive - consider going client side.
    Great video!

  • @vasyaqwe2087
    @vasyaqwe2087 11 дней назад +88

    Vite is SO fantastic. Yeah remix makes sense more than next in their situation for sure

    • @kassios
      @kassios 10 дней назад +4

      I didn’t know Remix run on Vite.
      I might ditch Next.js just for this

    • @gamechannel1271
      @gamechannel1271 10 дней назад

      In my experience with several large frontends, Vite is extremely slow compared to a compiled production webpack build. Like, so bad it's not even funny. The time you think you are saving with a "faster" dev server (all it does is move compilation work to the browser so you are staring at a white screen in Chrome instead of a loading progress in the console) is actively harming your end users.

    • @Lq32332
      @Lq32332 10 дней назад

      @@gamechannel1271 Did you configure your Vite prod build wrong? It’s using Rollup to build for prod. They are very fast and typically much smaller bundles than webpack. So far Vite outperforms webpack in both dev and prod at my work.

    • @khoinguyen-ft2ys
      @khoinguyen-ft2ys 10 дней назад +6

      @@gamechannel1271 Intesting. In my case, I wish all of my projects (regardless of size) were using Vite. I don't think the prod build of Vite is that much a different than Webpack (both bundled everything)

    • @GreatTaiwan
      @GreatTaiwan 10 дней назад

      @@gamechannel1271vite was always faster for me
      Webpack was always slow for me
      We have been delivery medical software serving 10 of thousands of users doing heavy image processing for many hospitals and universities
      Difficult for me to see how in the world webpack is faster

  • @incarnateTheGreat
    @incarnateTheGreat 10 дней назад +9

    I made the move from Next to Remix a while ago. Because I have to maintain Next projects that are live, I can tell the difference and I absolutely love Remix. Slightly different paradigm, but I fully appreciate it.

  • @PhongGT
    @PhongGT 7 дней назад +1

    The thing I really like about Remix is that you can have your own custom server and they make it really easy to do so, so you can have a simple light-weight monorepo.

  • @michaelraasch5496
    @michaelraasch5496 9 дней назад +11

    I feel so old. I have been on the information super highway since the XMosaic days (1994). I have never heard of remix. Every other month there is a new/best/final/GOAT framework, I have lost track. :-(

    • @musashi542
      @musashi542 5 дней назад

      remix is not new .

    • @michaelraasch5496
      @michaelraasch5496 5 дней назад

      @@musashi542 remix is 2020. next.js is 2016. I bet there is a new one around the corner

  • @diego-aquino
    @diego-aquino 8 дней назад +7

    I have been using Next.js in production (self hosted, not Vercel) for multiple years now, mostly in client-side apps. I don't get the comments saying Next.js is not recommended for SPAs. The new app router defaults to server components, but it does not force you to use them. "use client" is fine if you don't want SSR. Server actions are not mandatory as well. Am I missing something?

    • @fatmilf1498
      @fatmilf1498 5 дней назад

      Clearly

    • @OrigamiSage
      @OrigamiSage 6 часов назад

      You still get SSR, as all components get rendered in the server first regardless of “use client”.

  • @akash-kumar737
    @akash-kumar737 11 дней назад +2

    Just saw Ryan Florence post and find this video Thanks for explaining the reason ❤

  • @rezahosseini7851
    @rezahosseini7851 11 дней назад +52

    They propbaly wanted to mvoe some computation to the client-side and use the server less

    • @labhamjain3915
      @labhamjain3915 11 дней назад +53

      and use 'less server'

    • @clamentjohn
      @clamentjohn 11 дней назад +6

      You can already do this on Next. Not everything is server side on a next app. I have a client side only video editor app built on next and hosted on cloudflare

    • @WesBos
      @WesBos  11 дней назад +11

      The incremental step to rendering HTML on the server vs JSON isn't much, and if anyone has the compute for it, it's OpenAI.

    • @weiSane
      @weiSane 11 дней назад +9

      @@WesBosidk man, they are kinda burning through billions very fast. Everyone’s optimizing costs in this economic environment 😂

    • @WesBos
      @WesBos  11 дней назад +16

      @@weiSane soon they will just run the models on our computers instead

  • @JoakimNystrom
    @JoakimNystrom 6 дней назад

    I really enjoy this type of videos. Would be cool with a series of "Dissection of services" where you highlight the gems (like the blocking script for the theme).

  • @mateuszanglart8835
    @mateuszanglart8835 10 дней назад +1

    Really good explanation of tradeoffs in frontend frameworks in this case Next js vs Remix. I think they choose Remix for easier refactoring. It will be interesting to see if they will use signals from Angular or Solid

  • @eleah2665
    @eleah2665 11 дней назад +30

    I'm not freaking out. Remix is great.

  • @darzyx6986
    @darzyx6986 6 дней назад

    If you're building a giant application like ChatGPT you still benefit from traditional patterns like having a more separate backend and frontend, otherwise you'll be maintaining multiple backends. Next definitely has its place but that's with medium to small sized applications.

  • @boldureans
    @boldureans 10 дней назад

    This is the video preview I was waiting for.

  • @gamhcrew556
    @gamhcrew556 10 дней назад +7

    why is this a concern man????

  • @keelogs
    @keelogs 10 дней назад

    oh first time I get recommend for your content, I've seen you trending on my twitter a lots.

  • @XzeroNetwork
    @XzeroNetwork 9 дней назад +3

    Marko are doing the same thing. Facebook and Whatsapp both use Marko now. It's kind of like Astro, but even more minimal with less code

    • @lev1ato
      @lev1ato 9 дней назад

      wow... so they switched from react, thats wild

    • @naughtiousmaximus7853
      @naughtiousmaximus7853 7 дней назад

      On which platform they use Marko.js?

  • @stevecastaneda
    @stevecastaneda 11 дней назад +16

    If you’re not using server actions, why not just use Vite directly? What benefits does remix offer?

    • @Daniel-vl8zm
      @Daniel-vl8zm 11 дней назад +3

      Gives you the option to use server actions in the future + gives you a router and a bunch of other things

    • @bholmesdev
      @bholmesdev 11 дней назад +27

      Big reason is the router. You *can* use react-router + vite standalone, but at that point... you're just using Remix with a 10% worse experience. Remix adds a bit of structure with file-based routing and data loading you can reach for even in a client SPA

    • @paca3107
      @paca3107 11 дней назад

      seo

    • @WesBos
      @WesBos  11 дней назад +23

      They are using the Remix server though: Data Loaders, Hydration, routing, URL hooks, hosting adapters, 404 pages, etc... you lose most of that going 100% SPA without a JS server

    • @justin.johnson
      @justin.johnson 10 дней назад +2

      EVERYTHING 😂

  • @CristianBilu-q4n
    @CristianBilu-q4n 9 дней назад

    One thing people might not realise is that while ChatGPT moved to remix and they do CSR, they still have a server that runs the server loaders and actions. As shown at the start, the loader data was in the html that was provided by the server. Only the rendering is done on the client.

  • @ronindevninja
    @ronindevninja 9 дней назад +1

    remix is simple and fun, you can do a lot of things with it, you dont need to kown hundreds of concepts to launch a website, i mean I really apreciate that, is the unique JS framework that i love, although I am using htmx with go, but if I have to came back to use JS frameworks, Remix will be my weapon indeed.

  • @05xpeter
    @05xpeter 10 дней назад +1

    If you basically don't need a JS backend, because all the backend work is done some dedicated backend and you not need SEO at all, then it' crazy to impliment any other thing than a SPA or something entire client side. I totally get why they moved out of Next, further adding that they nautrally would try to avoid Vercel, since Vercel is running AWS. And OpenAI is deeply married to Azure and Microsoft.

  • @johnlovell8299
    @johnlovell8299 3 дня назад

    ExpressJs FTW! Remix - The VC in your MVC app.

  • @ComedyForYooou
    @ComedyForYooou 10 дней назад +4

    Chatgpt seems to get worse every day. It constantly freezes, conversations are not found or uploads fail.

    • @manonamission2000
      @manonamission2000 9 дней назад

      exodus of talent, and they began bringing in pre-Musk/ex-Twitter folks

  • @nicholas6497
    @nicholas6497 10 дней назад

    Haven't watched the video yet cause busy. Just wanted to quickly chime in that Remix is awesome! Love the emphasis on working with web standards.

  • @AhmadMughal1
    @AhmadMughal1 10 дней назад +1

    You bought me over immediately saying Next.js should just run on Vite.
    They've given years to Turbopack and it still slow and has a lot of issues whereas Vite has never had any of them

  • @dytra_io
    @dytra_io 11 дней назад +32

    because chat gpt itself recommends it

  • @LGtheCat
    @LGtheCat 10 дней назад

    Loving your content... Cheers!

  • @maxfriedman3148
    @maxfriedman3148 10 дней назад +7

    Biggest flex is you haven’t used chat GPT since may

    • @justin.johnson
      @justin.johnson 10 дней назад +2

      Claude Sonnet 3.5 has been killing it to be honest

    • @GreatTaiwan
      @GreatTaiwan 10 дней назад

      @@justin.johnsonYupe but recently I paid for it and the quality is so bad
      So I see a switch ChatGPT free is better

    • @manonamission2000
      @manonamission2000 9 дней назад +1

      Llama 3.1, Claude 3.5 Sonnet, even Claude 3 Haiku,
      all were delivering better results than GPT...

    • @coherentpanda7115
      @coherentpanda7115 8 дней назад

      Is Claude good enough for code now? I haven't used it in over a year, but willing to give it a shot.

    • @I-AMSelf
      @I-AMSelf 2 дня назад

      Lmaoo aged horrible

  • @thewebdev8928
    @thewebdev8928 10 дней назад +1

    So if you're not using next, and going for react vite + react router, is it just better to use remix than ?
    Currently I'm using next, more jobs around my city. But i should check out Remix as well

  • @gamhcrew556
    @gamhcrew556 10 дней назад +3

    why everybody making hype about it??? i don't understand, like marvel just announced some movie, or am I missing somethinh

  • @ShadiIsber
    @ShadiIsber 10 дней назад

    Makes sense, they don't really need server rendering for ChatGPT. Cheaper to run too.

  • @imranaalam
    @imranaalam 6 дней назад

    MASTERCLASS

  • @Offiziersmesser
    @Offiziersmesser 7 дней назад

    whoa my eyes! light mode Wes!

  • @shanekunz
    @shanekunz 10 дней назад +1

    i will try not to make too grandiose a statement, but from a philosophical data and computational perspective client side rendering seems much better. Since so much resources go into building distributed systems, and every computer and smart phone now is at some relative stand point a "super computer", why would you not offload rendering to those willing computers? Data is harder to argue one way or the other, because client rendering can requires X amount of js before it can render json. There's the classic example of parsing/rendering markdown saves X amount of data with RSC. But I think it's actually edge cases where that is the case. So many sites are just basic skeletons that need some json to hydrate, and I can't understand how streaming html pages after most clicks is somehow less data than json payloads for client rendering. That's not even to say RSC is without merit, but I'd imagine the cost of development far exceeds the benefit in most cases.

    • @coherentpanda7115
      @coherentpanda7115 8 дней назад

      SSR just looks visually eye pleasing, that is why it has been popularized, and search engines like Google demand better rendering for SEO. However with suspense in React now, making visually pleasing client-side loading is much easier than it used to be. Also, companies like Vercel make an ass load of money from anything done server side, so they obviously encourage it. The actual React team has been focused on more client-side features, lately, which shows some of the disconnect and why vendor lock-in can suck. Personally, I try to stick to statically generated for things that need SEO, and client-side for internal apps.

  • @mohammedbageri1678
    @mohammedbageri1678 8 дней назад

    remix is just beautiful. I highly recommend it.

  • @uaer309
    @uaer309 10 дней назад

    Hydration with a bunch of data reminds me on Inertia.js with Laravel. Works seamlessly.

  • @joseandkris
    @joseandkris 11 дней назад +1

    I've done both. I've done same apps in both, and I can tell you. Remix is much easier to maintain and reason about. But that isn't enough of a reason to move the entire codebase I guess :)

  • @sebastianopperman
    @sebastianopperman 11 дней назад +40

    Think they also just want to get off of Vercel's books.

    • @WesBos
      @WesBos  11 дней назад +31

      I've seen this comment a million times, Next.js !== Vercel. Of course it's easiest to host with Vercel, but very doable to host on your own servers or other hosts - especially with OpenAI's Engineering team. I've have apps running on Cloudflare and Render Droplets.

    • @carlosdubon8539
      @carlosdubon8539 11 дней назад +6

      @@WesBos Vercel does so much magic behind the scenes. We have a mem leak and it doesn't happen when deployed with Vercel, but happens when deployed in k8s.

    • @clamentjohn
      @clamentjohn 11 дней назад +3

      ​@@WesBosNext on CF is not the same as Next on Vercel. I have an app hosted on CF which runs well but doesn't have all the features of running it in a node environment

    • @WesBos
      @WesBos  11 дней назад +4

      ​@@clamentjohn which features? It's pretty close - even the RSC revalidation stuff works really well. Plus cloudflare's node compat is very close to node as well

    • @adpadillar
      @adpadillar 11 дней назад

      Is that not just stateful vs stateless? I don't think is vercel magic, more like different architectures. If you have a memory leak in vercel it may be fine because the functions are serverless and only ever live for a few minutes, while if you are using next js with a long living server, a memory leak will only get worse. I agree that vercel does a lot of magic but this is not a good example imo. ​@@carlosdubon8539

  • @simonswiss
    @simonswiss 10 дней назад +1

    That thumbnail RUclips face tho 😅

  • @sykexz6793
    @sykexz6793 10 дней назад +4

    Only because they use next.js does not mean they are forced to host on vercel they can do it on azure which is what they are probably doing anyways.

  • @thatotherjohnc
    @thatotherjohnc 10 дней назад +1

    First time looking at literally any SPA application made since the dawn of SPA? "running remix on Express". :) dude!?

  • @Jezfx
    @Jezfx 10 дней назад

    great vid, thank you!

  • @haiffy
    @haiffy 10 дней назад +1

    For the past month i have been getting lag spikes when sending prompt, let's see if this migration fixed it

  • @adventurer2395
    @adventurer2395 8 дней назад +1

    what you came here for is at 7:35 🤦‍♂

  • @TheReltihFloda
    @TheReltihFloda 11 дней назад

    I just love thumbnail!

  • @daedaluxe
    @daedaluxe 10 дней назад

    Me not even noticing anything changed apart from some highlighting on text lmao

  • @JoseRoque-w1m
    @JoseRoque-w1m 4 дня назад

    can you do this for perplexity and claude to look at investigate their stack?

  • @furycorp
    @furycorp 10 дней назад

    I bet they got tired of having to rewrite their app to keep up with Vercel's endless paradigm shifts and experiments in developer lock-in... sometimes even with minor release versions. NextJS is fast to spin up mostly thanks the templates freebies but on projects that need to be maintained and keep current to the ecosystem for longer than 6 months the regret starts building VERY quickly. No regrets prioritizing Vite + Astro depending on the project. Especially Astro for all the major big additions and improvements I have been able to upgrade MAJOR versions 2 -> 3 -> 4 on projects with almost no code changes.

  • @yusefhapiep920
    @yusefhapiep920 10 дней назад +1

    The next step is moving to htmx

  • @DanteMishima
    @DanteMishima 10 дней назад

    Finally! Sanity

  • @elmotareal
    @elmotareal 11 дней назад +1

    Can you give the new angular a shot please?

  • @Pic14Kk
    @Pic14Kk 5 дней назад

    Angular, React, Vue, Nest.js, Next.js, Remix... what will come next week?
    30MB just for pure text site :D:D

  • @ariburaco
    @ariburaco 10 дней назад

    Looks like they are still using NextAuth for authentication thou. I've an extension for chatgpt to upload large PDF files to the chat, and none of my features are broken. Impressive integration haha

  • @AnotherComment-rl6fv
    @AnotherComment-rl6fv 7 дней назад

    their sever load went from 100 to 10

  • @alwayzsmarter
    @alwayzsmarter 9 дней назад

    I didn't think my fav takeaway would be the theme set to avoid flash lol. Tho I think I did similar thing already in sveltekit but I'll still compare notes with open ai. Reputable source to copy lol

  • @SingleSiddhu
    @SingleSiddhu 10 дней назад

    Wait!!
    The whole point of switching to Next.js was it was offering Server side rendering.
    Now again client side rendering will not hinder the efficiency?

  • @punk3900
    @punk3900 3 дня назад

    Let me just guess that chat GPT suggested this solution

  • @MrSprinkles1F369
    @MrSprinkles1F369 10 дней назад +2

    So much complexity for a super simple app.

    • @jason_v12345
      @jason_v12345 9 дней назад +1

      Seems simple, but probably only because you're not using more than its basic features. There are several personalization tools, an entire GPT builder, an entire GPT store....

    • @coherentpanda7115
      @coherentpanda7115 8 дней назад

      Super simple? They have to scale to millions of people everyday, of course there will be complexity. This isn't a high school project

    • @anonymousguitarist7418
      @anonymousguitarist7418 7 дней назад

      ​@@coherentpanda7115 For the front-end, yes. I am even surprised they used NextJS for that chatGPT app.

  • @MrZerosixZeroone
    @MrZerosixZeroone 8 дней назад

    I always wander why SPAs don't do exactly this 3:28 to provide better UX and better perception of speed. Remix move might actaully be the right move.

  • @go371211
    @go371211 10 дней назад

    The triangle company would not like this

  • @TheBlackManMythLegend
    @TheBlackManMythLegend 10 дней назад +2

    all those things exist in J2ee or Php...( I don't get the hype... do I need to go into the rabbit hole to get it? )

    • @WesBos
      @WesBos  10 дней назад +1

      No - we’re kinda jealous of PHP right now. But the hype here is that you can easily transfer from client to server with a single language and a single tempting language. Def possible with livewire types in PHP but you still need JS

    • @TheBlackManMythLegend
      @TheBlackManMythLegend 10 дней назад

      @@WesBos oh I see.. thanks...

  • @codernerd7076
    @codernerd7076 11 дней назад +12

    They likely got a surprise larger bill of Vercel. Move their complete platform from Vercel in response including got rid of Next.js because Vercel was using the fact that open ai was running on Next.js in their marketing 😅 sometimes the reason are not that complex

    • @Riverhill-AI
      @Riverhill-AI 10 дней назад +1

      Why do you think OpenAI is hosting ChatGPT on Vercel? I am a very confused.

    • @mateidumitrescu238
      @mateidumitrescu238 10 дней назад

      Just because Vercel developed next js, which is open source btw, doesn't mean that you have to host it on Vercel cloud.

    • @codernerd7076
      @codernerd7076 10 дней назад

      @mateidumitrescu238 self-hosting Next.js for years. But they were hosting their frontend on Vercel earlier this year... so something has changed 🤔

  • @urisrssfeeds
    @urisrssfeeds 10 дней назад +1

    are you saying remix does SSGs better? I don't think so. There's something else going on

    • @WesBos
      @WesBos  10 дней назад +1

      No - neither of those sites are static

    • @MrSargon1984
      @MrSargon1984 9 дней назад

      Remix doesn't need a separate target architecture like SSG. SSR with SWR cache header does the same trick much more elegantly.

  • @a-yon_n
    @a-yon_n 7 дней назад

    Most of the time you don't need SSR.

  • @CamdenBloke
    @CamdenBloke 9 дней назад

    Why does ChatGPT need server-side rendering? It's not like they are cashing the interactions with users.

  • @BillCleveland-v5p
    @BillCleveland-v5p 5 дней назад

    Vivian Knolls

  • @neneodonkor
    @neneodonkor 10 дней назад

    Are they confused? Didn't they use Nuxt prior to using Next?

  • @carlosduran5460
    @carlosduran5460 10 дней назад +3

    I always said SSR is mainly for SEO purposes, it's enough to do some SSR on meta tags.
    Doing SSR for internal tools are a waste of server resources (this is what Vercel wants with Next.js). But people keeps doing SSR for admin panels xD

    • @hello19286
      @hello19286 10 дней назад +5

      Saying that SSR is just for SEO clearly means you don't understand SSR. There is a clear benefit in rendering html server side as it's closer to the database and will result in faster load times. Especially for "admin panels".

    • @WesBos
      @WesBos  10 дней назад +3

      yep exactly, plus no need to load deps or do logic on client. Lots of good reasons to do it on the server - and I think it's the future for most apps. ChatGPT just has their own set of problems to solve and made this decision

    • @o_glethorpe
      @o_glethorpe 10 дней назад +4

      ​@@WesBosif this logic could be done on the client you are just waisting money doing on the server

    • @WesBos
      @WesBos  10 дней назад

      @@o_glethorpe depends - on my site I have a syntax highlighter than is several megs. The bandwidth for that would be huge, cheaper to compute once on the server and cache the HTML

    • @IvanKleshnin
      @IvanKleshnin 10 дней назад +1

      @@hello19286 "faster loading time" for the first render. And for apps, where people spend hours, first render does not matter nearly as much. So he's right and you're wrong.

  • @nabinsaud4688
    @nabinsaud4688 10 дней назад +1

    remix is faster than nextjs

  • @ulrich-tonmoy
    @ulrich-tonmoy 11 дней назад

    remix just let react do what react can and they do the additional thing needed to build full app while next use react just for templating and do everything themselves
    it would haven been better if the renamed react-router to remix-router that might cause some confusion so they gave up their branding for the greater good

  • @hglbrg
    @hglbrg 10 дней назад +1

    Let me reword this crazy hype new terrifying mega news shock omg for you lot:
    "Company changed framework from a great one to another great one more optimized for their use case"

  • @naranyala_dev
    @naranyala_dev 10 дней назад

    tanstack, tanstack, tanstack

  • @VaibhavShewale
    @VaibhavShewale 10 дней назад +3

    everyone is leaving Vercel now?

    • @danvilela
      @danvilela 10 дней назад +1

      Not me and my projects with 3 users

    • @WesBos
      @WesBos  10 дней назад

      Once you hit scale its worth re-evaluating, but there is a reason Vercel is so popular - its just so dang easy

    • @JEsterCW
      @JEsterCW 9 дней назад

      ​​@@WesBosAnd also so problemstic especially when they force you to upgrade your next version, which can be tough so often for huge apps especially

  • @chukwuemekaallison
    @chukwuemekaallison 7 дней назад

    What software did you use to record this?

  • @paci
    @paci 10 дней назад

    No seo required so why all the pain points next.js brings....

  • @umairahmed8175
    @umairahmed8175 10 дней назад

    So essentially they're using Remix as a replacement for CRA? Its nothing to do with Next, but making a SPA

    • @WesBos
      @WesBos  10 дней назад +1

      No - they are still using the server part of Remix to collect the page data with loaders for a fast initial load, auth, routing, caching, etc.. A lot more than CRA

  • @greendsnow
    @greendsnow 8 дней назад

    Wait wait wait wait wait you are the guy from Syntax

  • @peterlee8407
    @peterlee8407 10 дней назад

    Good Move! 👍🏻Though never used remix at all. But NextJS really disappointing despite it's developed by such big commercial organisation. Frequently dramatical changes in APIs, poor and confused documentation, hardly find answers from their official document. Just like in each version, they "suddenly figure out" something and then in the next version they change their mind again. Time use to debug the framework itself far more overweight the time you spend on your own code🤷🏻‍♂

  • @carloslfu
    @carloslfu 10 дней назад

    Devs being devs.

    • @alwayzsmarter
      @alwayzsmarter 9 дней назад

      At the agency I worked at it was a sin to use new tech. Just had to patch the way out of date crap. But they fired me so now I can use new stuff lol

  • @mehtanikhil
    @mehtanikhil 10 дней назад

    what chome dev tools customization is that. which lets you hide tab names like elements,sources,network,performance etc?

    • @WesBos
      @WesBos  10 дней назад +1

      MS Edge - its the Chrome dev tools but they skinned them so nicely

  • @MohammadRezaYusufy
    @MohammadRezaYusufy 10 дней назад

    but now I prefer to use fasthtml that's the most crazy framework

  • @gogdarag
    @gogdarag 11 дней назад +1

    Remix is ❤

  • @TheWalrus_45
    @TheWalrus_45 9 дней назад

    So this was all to move to Azure.

  • @Create-The-Imaginable
    @Create-The-Imaginable 8 дней назад

    So jQuery was right in the first place? 🤔

  • @Lemmy4555
    @Lemmy4555 11 дней назад

    I'm waiting for the day they migrate to sveltekit

  • @fabrielmbeng1805
    @fabrielmbeng1805 10 дней назад +2

    Express is back babe ☺

  • @giannizamora7247
    @giannizamora7247 10 дней назад

    This is why I didn’t really understand the hype or dive into next.js. Most systems at a scale need their own services handling data all while having a simple vite react TS front-end, or angular or vue whatever. These fe frameworks allow us to do necessary client side work and that’s it. In reality everybody knows most apps are a crud of some sort. Why complicate it.

  • @JethroBodine1422
    @JethroBodine1422 10 дней назад

    Has React Router v7 been released yet? Can't find it anywhere.

    • @james.restall
      @james.restall 10 дней назад

      Team is waiting on the typesafe routes work to be finished before releasing.

  • @atuttle
    @atuttle 11 дней назад +2

    lol at the thumbnail...

  • @digital_watch
    @digital_watch 11 дней назад +2

    You might be looking at it all wrong. Naval Ravikant, seed funder of Remix in 2021, investor in OpenAI in 2023.

    • @Vreth6
      @Vreth6 11 дней назад

      Then it sort of makes sense

    • @WesBos
      @WesBos  11 дней назад +5

      lol nah. hes also listed as the 3rd investor of Vercel

    • @digital_watch
      @digital_watch 7 дней назад

      @@WesBos faulty logic, that doesn't negate any possible influence

  • @0xsabbir
    @0xsabbir 7 дней назад

    Remix is good at streaming

  • @Synoap
    @Synoap 10 дней назад

    Hey dude, could you compare, Next, Remix and Astro? Thanks btw

    • @alwayzsmarter
      @alwayzsmarter 9 дней назад

      And sveltekit which is all I will ever use but still interesting to see what others like this remix or whatev does but prob not much diff than sveltkit