Why did OpenAI move from Next.js to Remix?

  Рет қаралды 188,532

Wes Bos

Wes Bos

Күн бұрын

Пікірлер: 328
@dimitrisborbotsialos
@dimitrisborbotsialos 2 ай бұрын
Plot twist. Chat GPT wrote itself in Remix. Open AI devs don't even know.
@maheshguptha9796
@maheshguptha9796 22 күн бұрын
😂
@Kostrytskyy
@Kostrytskyy 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
​@@JagaSantagostino and then users leave it open for 9 days straight - kinda like desktop/mobile apps.
@yassinesafraoui
@yassinesafraoui 2 ай бұрын
​@@WesBosLol that's what I always do I always have a pinned chatgpt tab at least in one of my browser windows
@adamjones7497
@adamjones7497 2 ай бұрын
Odd flex. Client heavy UI isn’t good design unless absolutely necessary.
@DEV_XO
@DEV_XO 2 ай бұрын
Remix is simply great, happy to see big companies adopting it!
@lgiorgos1
@lgiorgos1 4 күн бұрын
It is merged with React Router. Do we know if there gonna be new versions of it?
@WesSouza
@WesSouza 2 ай бұрын
Bell curve meme, "just use express and react router / (one billion libs and frameworks) / just use express and react router"
@WesBos
@WesBos 2 ай бұрын
😆
@mariajegan2409
@mariajegan2409 2 ай бұрын
Sample repository
@devviz
@devviz 2 ай бұрын
i am proud to announce that i can visually imagine this meme in my head and understand it (:
@TautornTech
@TautornTech Ай бұрын
go back to PHP plus FTP
@matt.loupe.
@matt.loupe. Ай бұрын
“just query a database and print to the screen” / (one billion libs and frameworks) / “just query a database and print to the screen”
@Snowi_93
@Snowi_93 2 ай бұрын
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!
@greendsnow
@greendsnow 2 ай бұрын
because Vercel bandwidth charges are outrageous and latest Nextjs is very hard on the bandwidth. like an ELEPHANT.
@Riverhill-AI
@Riverhill-AI 2 ай бұрын
Why do you think OpenAI is hosting ChatGPT on Vercel? I am a little confused.
@greendsnow
@greendsnow 2 ай бұрын
@@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.
@jamesgphillips91
@jamesgphillips91 2 ай бұрын
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 2 ай бұрын
except Vercel has a large chat product called v0 where the server rendered parts really shine
@3litepker
@3litepker 2 ай бұрын
@@WesBos Hit the nail on the head
@jamesgphillips91
@jamesgphillips91 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 2 ай бұрын
@@WesBos This is interesting
@nwsome
@nwsome 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
@vasyaqwe2087
@vasyaqwe2087 2 ай бұрын
Vite is SO fantastic. Yeah remix makes sense more than next in their situation for sure
@kassios
@kassios 2 ай бұрын
I didn’t know Remix run on Vite. I might ditch Next.js just for this
@gamechannel1271
@gamechannel1271 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
@@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 2 ай бұрын
@@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
@eleah2665
@eleah2665 2 ай бұрын
I'm not freaking out. Remix is great.
@adventurer2395
@adventurer2395 2 ай бұрын
what you came here for is at 7:35 🤦‍♂
@sealone777
@sealone777 Ай бұрын
Been using Nextjs for a while and glad to see alternatives getting the spotlight.
@PhongGT
@PhongGT 2 ай бұрын
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.
@stachycodes
@stachycodes 2 ай бұрын
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!
@incarnateTheGreat
@incarnateTheGreat 2 ай бұрын
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.
@unskeptable
@unskeptable Ай бұрын
All projects are live. What do you mean ?
@darzyx6986
@darzyx6986 2 ай бұрын
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.
@michaelraasch5496
@michaelraasch5496 2 ай бұрын
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 2 ай бұрын
remix is not new .
@michaelraasch5496
@michaelraasch5496 2 ай бұрын
@@musashi542 remix is 2020. next.js is 2016. I bet there is a new one around the corner
@JP-ek3mc
@JP-ek3mc Ай бұрын
@@michaelraasch5496 Tanstack start just went alpha so...
@anakinskywalker192
@anakinskywalker192 Ай бұрын
@@michaelraasch5496 You were right, now we have TanStack as well
@diego-aquino
@diego-aquino 2 ай бұрын
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 2 ай бұрын
Clearly
@OrigamiSage
@OrigamiSage 2 ай бұрын
You still get SSR, as all components get rendered in the server first regardless of “use client”.
@edgardevelops
@edgardevelops Ай бұрын
​​​@@OrigamiSage not all components. You can use dynamic import then use other component that you want to prerender instead. Or use page router if you dont want prerender.
@iamZBRais
@iamZBRais Ай бұрын
​@@OrigamiSageNo, break into components which needs to be rendered on client side and "use client"
@OrigamiSage
@OrigamiSage Ай бұрын
​@@iamZBRais Yes and no. According to Next.js documentation, both server and client components get pre-rendered on the server for the initial page load, however on the subsequent navigations they get rendered on the client only. And as @edgardevelops pointed out, there are ways to opt-out of the pre-rendering behaviour.
@rezahosseini7851
@rezahosseini7851 2 ай бұрын
They propbaly wanted to mvoe some computation to the client-side and use the server less
@labhamjain3915
@labhamjain3915 2 ай бұрын
and use 'less server'
@clamentjohn
@clamentjohn 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@WesBosidk man, they are kinda burning through billions very fast. Everyone’s optimizing costs in this economic environment 😂
@WesBos
@WesBos 2 ай бұрын
@@weiSane soon they will just run the models on our computers instead
@keelogs
@keelogs 2 ай бұрын
oh first time I get recommend for your content, I've seen you trending on my twitter a lots.
@mateuszanglart8835
@mateuszanglart8835 2 ай бұрын
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
@ronindevninja
@ronindevninja 2 ай бұрын
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.
@JoakimNystrom
@JoakimNystrom 2 ай бұрын
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).
@akash-kumar737
@akash-kumar737 2 ай бұрын
Just saw Ryan Florence post and find this video Thanks for explaining the reason ❤
@BeeBeeEight
@BeeBeeEight Ай бұрын
Videos like this show that sometimes big corporates themselves don't actually go with the "in thing" - using remix not next.js, using express which was supposed to have died a few years ago, CSR not SSR, no SEO, using electron which is supposedly bloatware, etc. And in some of those instances they actually make sense. For me SSR is really just transferring the burden of rendering web content from the client back to the server. This either translates into a hefty bill from my host, or a heavy load on my servers which also translates into hefty bills in the form of extra CPUs or higher power bills. So not everything needs to be "next", sometimes a "remix" is better.
@maniacos9620
@maniacos9620 2 ай бұрын
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 2 ай бұрын
the most hilarious part is that Remix has already said its "going away" and turning back into react router
@thedelanyo
@thedelanyo 2 ай бұрын
​@@WesBos they might then look into Sveltekit
@incarnateTheGreat
@incarnateTheGreat 2 ай бұрын
@@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 2 ай бұрын
Incorrect. They said it will take a nap until RR7, but it is def not going away😂
@PieterWigboldus
@PieterWigboldus Ай бұрын
React router is not new hot shit, it is a very stable and robust solution, that reduces some complexity in comparison of next
@Tommy-km4wo
@Tommy-km4wo Ай бұрын
Imagine being in the middle of a nextjs project with openAI, and something new comes along. This is exhausting
@AhmadMughal1
@AhmadMughal1 2 ай бұрын
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
@XzeroNetwork
@XzeroNetwork 2 ай бұрын
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 2 ай бұрын
wow... so they switched from react, thats wild
@naughtiousmaximus7853
@naughtiousmaximus7853 2 ай бұрын
On which platform they use Marko.js?
@normydev
@normydev Ай бұрын
Great video! I have two Next.js app router applications running in production. The app router is quite good but as it renders everything on the server first and then hydrates the client is annoying. This leads to a lot of hydration errors resulting in app crashes even if you mark the component with "use client" directive. Remix on the other hand does it pretty well by exposing actions and loaders (btw next.js pages router was also good at this). Plus next.js is not pretty good with graphql backends specifically where there is a custom authentication system with token rotation and all. The middleware just suck in next.js app router it is worst and can hit the rate limit pretty quickly. Good they moved to remix!
@gamhcrew556
@gamhcrew556 2 ай бұрын
why is this a concern man????
@stevecastaneda
@stevecastaneda 2 ай бұрын
If you’re not using server actions, why not just use Vite directly? What benefits does remix offer?
@Daniel-vl8zm
@Daniel-vl8zm 2 ай бұрын
Gives you the option to use server actions in the future + gives you a router and a bunch of other things
@bholmesdev
@bholmesdev 2 ай бұрын
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 2 ай бұрын
seo
@WesBos
@WesBos 2 ай бұрын
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 2 ай бұрын
EVERYTHING 😂
@gamhcrew556
@gamhcrew556 2 ай бұрын
why everybody making hype about it??? i don't understand, like marvel just announced some movie, or am I missing somethinh
@nicholas6497
@nicholas6497 2 ай бұрын
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.
@dytra_io
@dytra_io 2 ай бұрын
because chat gpt itself recommends it
@CristianBilu-q4n
@CristianBilu-q4n 2 ай бұрын
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.
@joseandkris
@joseandkris 2 ай бұрын
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 :)
@thewebdev8928
@thewebdev8928 2 ай бұрын
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
@boldureans
@boldureans 2 ай бұрын
This is the video preview I was waiting for.
@devSero
@devSero 2 ай бұрын
Speaking in a professional opinion Next js is do do. There is a lot more better ways of doing things. In all regards there is a reason why the choice was made. If you do use next js and works for you that is great. It's better to have options instead of being forced to an option not of your liking.
@mohammedbageri00
@mohammedbageri00 2 ай бұрын
remix is just beautiful. I highly recommend it.
@shanekunz
@shanekunz 2 ай бұрын
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 2 ай бұрын
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.
@matthewtrow5698
@matthewtrow5698 29 күн бұрын
Sounds like a case of honing the idea of "the right tool for the right job", as in "a better tool for THIS job" I guess as a brutal simplification, Next.js and leaning more toward Server rendering is best for static data - big information heavy websites - very little "application". Remix is hotter on WebApps - I mean, it's a weird split, right? - Is it a website or is it a WebApp - it's kinda obvious though. ChatGPT is an app. KZbin? - yeah, it's an App. Wikipedia? - big old static website. It's great we have these tools that can do both, but maybe do one aspect better. I guess you choose based on how much of your web presence is application focused (real time data) and how much is static?? content focused (long living immutable?? data) Great video, BTW. Made me think.
@AtomicPixels
@AtomicPixels Ай бұрын
It’s a lot simpler than you’re making it. It comes down to money. It always does. This is way more obvious than it’s made out to be. There was a deal somewhere that someone pitched. They accepted it. They all win.
@Offiziersmesser
@Offiziersmesser 2 ай бұрын
whoa my eyes! light mode Wes!
@sebastianopperman
@sebastianopperman 2 ай бұрын
Think they also just want to get off of Vercel's books.
@WesBos
@WesBos 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
​@@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 2 ай бұрын
​@@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 2 ай бұрын
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
@MrZerosixZeroone
@MrZerosixZeroone 2 ай бұрын
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.
@uaer309
@uaer309 2 ай бұрын
Hydration with a bunch of data reminds me on Inertia.js with Laravel. Works seamlessly.
@madethecreator
@madethecreator Ай бұрын
This is just a confirmation to let you know that next js is good, chat gpt has become a very big thing and maintainance would definitely become a very crucial stuff. Unless you have another chatgpt you don't have to worry about this.
@furycorp
@furycorp 2 ай бұрын
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.
@hglbrg
@hglbrg 2 ай бұрын
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"
@ImHansana123
@ImHansana123 27 күн бұрын
Recently Netflix moved thier login page to vanilla js from react, now this. What's going on?
@sykexz6793
@sykexz6793 2 ай бұрын
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.
@maxfriedman3148
@maxfriedman3148 2 ай бұрын
Biggest flex is you haven’t used chat GPT since may
@justin.johnson
@justin.johnson 2 ай бұрын
Claude Sonnet 3.5 has been killing it to be honest
@GreatTaiwan
@GreatTaiwan 2 ай бұрын
@@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 2 ай бұрын
Llama 3.1, Claude 3.5 Sonnet, even Claude 3 Haiku, all were delivering better results than GPT...
@coherentpanda7115
@coherentpanda7115 2 ай бұрын
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
@JohnLovell-FTW
@JohnLovell-FTW 2 ай бұрын
ExpressJs FTW! Remix - The VC in your MVC app.
@jon1867
@jon1867 18 күн бұрын
For the frontend, Remix feels like react with ssr, next feels like ssr with react
@VaibhavShewale
@VaibhavShewale 2 ай бұрын
everyone is leaving Vercel now?
@danvilela
@danvilela 2 ай бұрын
Not me and my projects with 3 users
@WesBos
@WesBos 2 ай бұрын
Once you hit scale its worth re-evaluating, but there is a reason Vercel is so popular - its just so dang easy
@JEsterCW
@JEsterCW 2 ай бұрын
​​@@WesBosAnd also so problemstic especially when they force you to upgrade your next version, which can be tough so often for huge apps especially
@bambanx
@bambanx 18 күн бұрын
​@@WesBoswhich alternative cheaper we have? Thanks you
@codernerd7076
@codernerd7076 2 ай бұрын
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 2 ай бұрын
Why do you think OpenAI is hosting ChatGPT on Vercel? I am a very confused.
@mateidumitrescu238
@mateidumitrescu238 2 ай бұрын
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 2 ай бұрын
@mateidumitrescu238 self-hosting Next.js for years. But they were hosting their frontend on Vercel earlier this year... so something has changed 🤔
@sealone777
@sealone777 Ай бұрын
Self hosting nextjs is actually easier than say pure react.
@ShadiIsber
@ShadiIsber 2 ай бұрын
Makes sense, they don't really need server rendering for ChatGPT. Cheaper to run too.
@krizh289
@krizh289 2 ай бұрын
I can't imagine it makes a big difference cost wise tbh
@peterlee8407
@peterlee8407 2 ай бұрын
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🤷🏻‍♂
@arfaahmed7306
@arfaahmed7306 2 ай бұрын
I don't like Remix because of React Router, Next.js's file-based routing is great. Next.js isn't doing extra for SSR, 'use client' and 'use server' are features of React, not Next.js.
@elmotareal
@elmotareal 2 ай бұрын
Can you give the new angular a shot please?
@LutherDePapier
@LutherDePapier 2 ай бұрын
Because they do not know that Remix announced it would stop being maintained for a looooong time. If they're aware of that, then they didn't migrate to Remix, they effectively pre-migrated to React Router v7.
@JohnSmith-gu9gl
@JohnSmith-gu9gl 2 ай бұрын
More Remix content please!
@simonswiss
@simonswiss 2 ай бұрын
That thumbnail KZbin face tho 😅
@haiffy
@haiffy 2 ай бұрын
For the past month i have been getting lag spikes when sending prompt, let's see if this migration fixed it
@imranaalam
@imranaalam 2 ай бұрын
MASTERCLASS
@chukwuemekaallison
@chukwuemekaallison 2 ай бұрын
What software did you use to record this?
@alwayzsmarter
@alwayzsmarter 2 ай бұрын
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
@thatotherjohnc
@thatotherjohnc 2 ай бұрын
First time looking at literally any SPA application made since the dawn of SPA? "running remix on Express". :) dude!?
@LGtheCat
@LGtheCat 2 ай бұрын
Loving your content... Cheers!
@ariburaco
@ariburaco 2 ай бұрын
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
@ibraheemdev2290
@ibraheemdev2290 Ай бұрын
Actually I found remix is good in concept, exhausting to prepare a project, also in my case I had to create a custom server to meet my requirements, but once done its can be good, note that there is no more "Remix" since it will be "React Router" only , it will be more like a set of components instead of a framework, I guess Remix is dying :)
@mehtanikhil
@mehtanikhil 2 ай бұрын
what chome dev tools customization is that. which lets you hide tab names like elements,sources,network,performance etc?
@WesBos
@WesBos 2 ай бұрын
MS Edge - its the Chrome dev tools but they skinned them so nicely
@ulrich-tonmoy
@ulrich-tonmoy 2 ай бұрын
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
@ComedyForYooou
@ComedyForYooou 2 ай бұрын
Chatgpt seems to get worse every day. It constantly freezes, conversations are not found or uploads fail.
@manonamission2000
@manonamission2000 2 ай бұрын
exodus of talent, and they began bringing in pre-Musk/ex-Twitter folks
@SingleSiddhu
@SingleSiddhu 2 ай бұрын
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?
@neneodonkor
@neneodonkor 2 ай бұрын
Are they confused? Didn't they use Nuxt prior to using Next?
@watamatafoyu
@watamatafoyu 19 күн бұрын
What's more horrific than knowing humanity will be subverted by the AI that it built is that it'll be run generally by self-generated JavaScript, a language needing to be compatible with 1995 web browsers.
@daedaluxe
@daedaluxe 2 ай бұрын
Me not even noticing anything changed apart from some highlighting on text lmao
@TheBlackManMythLegend
@TheBlackManMythLegend 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 2 ай бұрын
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 2 ай бұрын
@@WesBos oh I see.. thanks...
@yusefhapiep920
@yusefhapiep920 2 ай бұрын
The next step is moving to htmx
@DanteMishima
@DanteMishima 2 ай бұрын
Finally! Sanity
@zaynelovecraft
@zaynelovecraft Ай бұрын
Next js is also really good at being a spa and client rendered javascript on the client. Its not that hard to set up.
@urisrssfeeds
@urisrssfeeds 2 ай бұрын
are you saying remix does SSGs better? I don't think so. There's something else going on
@WesBos
@WesBos 2 ай бұрын
No - neither of those sites are static
@MrSargon1984
@MrSargon1984 2 ай бұрын
Remix doesn't need a separate target architecture like SSG. SSR with SWR cache header does the same trick much more elegantly.
@Synoap
@Synoap 2 ай бұрын
Hey dude, could you compare, Next, Remix and Astro? Thanks btw
@alwayzsmarter
@alwayzsmarter 2 ай бұрын
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
@greendsnow
@greendsnow 2 ай бұрын
Wait wait wait wait wait you are the guy from Syntax
@my_name_is_ahad
@my_name_is_ahad 2 ай бұрын
I just love thumbnail!
@05xpeter
@05xpeter 2 ай бұрын
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.
@carlosduran5460
@carlosduran5460 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
​@@WesBosif this logic could be done on the client you are just waisting money doing on the server
@WesBos
@WesBos 2 ай бұрын
@@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 2 ай бұрын
@@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.
@Pic14Kk
@Pic14Kk 2 ай бұрын
Angular, React, Vue, Nest.js, Next.js, Remix... what will come next week? 30MB just for pure text site :D:D
@fennecbesixdouze1794
@fennecbesixdouze1794 Ай бұрын
The push to render everything on the server is mindless. Research shows that well over 80% of web devs work on custom enterprise operational software. This use case will almost always be better served, in terms of user-experience, by a dead simple client-rendered, client-routed SPA. And it will be dramatically cheaper for you to operate.
@Salim_2015
@Salim_2015 Ай бұрын
Haven't they heard of something called "Nuxt"? 😊
@go371211
@go371211 2 ай бұрын
The triangle company would not like this
@CamdenBloke
@CamdenBloke 2 ай бұрын
Why does ChatGPT need server-side rendering? It's not like they are cashing the interactions with users.
@giannizamora7247
@giannizamora7247 2 ай бұрын
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.
@iamyeizi
@iamyeizi Ай бұрын
i think "v0" is the problem here, they are now competing with each other 😆
@Jezfx
@Jezfx 2 ай бұрын
great vid, thank you!
@gogdarag
@gogdarag 2 ай бұрын
Remix is ❤
@umairahmed8175
@umairahmed8175 2 ай бұрын
So essentially they're using Remix as a replacement for CRA? Its nothing to do with Next, but making a SPA
@WesBos
@WesBos 2 ай бұрын
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
@mrrolandlawrence
@mrrolandlawrence Ай бұрын
yeh i dont get turbopack either. Vite has been the way to go for some time now.
I DONT USE NEXT JS
54:01
ThePrimeTime
Рет қаралды 376 М.
Qwen Just Casually Started the Local AI Revolution
16:05
Cole Medin
Рет қаралды 77 М.
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 48 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 10 МЛН
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1 МЛН
All 17 React Best Practices (IMPORTANT!)
1:46:11
ByteGrad
Рет қаралды 196 М.
Did GitHub Just Kill Cursor? (NEW Copilot + Spark Update 2024)
6:11
AI Code Pathways
Рет қаралды 6 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 639 М.
Coding a FULL App with AI (You Won't Believe This)
15:19
Creator Magic
Рет қаралды 198 М.
Flutter just got Flocked! What does it mean for Flutter's future?
11:26
Maximilian Schwarzmüller
Рет қаралды 64 М.
NextJS Is Hard To Self Host
39:32
ThePrimeTime
Рет қаралды 120 М.
Coding apps with English
14:05
Wes Bos
Рет қаралды 23 М.
Next.js 15 is here! Does it fix Next 14?
10:29
Academind
Рет қаралды 50 М.