app router cost

is it true that app router will be much more cheaper, cause i just watch theos video and i want to hear a lil bit more of it, thankss yall
5 Replies
Rhys
Rhys9mo ago
Watch this video if you haven’t https://m.youtube.com/watch?v=VIwWgV3Lc6s It comes down to water falling of requests, with app router you do all of your requests in one call and they can share data, in the pages model requests trigger more requests that trigger more requests
Theo - t3․gg
YouTube
React Server Components: A Comprehensive Breakdown
RSCs are not the easiest thing to understand. I hope this video helps break it down HUGE shoutout to Josh for his incredible blog post https://www.joshwcomeau.com/react/server-components/ ALL MY VIDEOS ARE POSTED EARLY ON PATREON https://www.patreon.com/t3dotgg Everything else (Twitch, Twitter, Discord & my blog): https://t3.gg/links S/O Ph4s...
Rhys
Rhys9mo ago
In the traditional model you’re still making fetches to your server, they’re just returning JSON instead and it’s not that more expensive to just render the React code
arete
arete9mo ago
yea i watch this video and the end theo say the new model will be much more cheaper?? idk if i hear that correctly lol
Rhys
Rhys9mo ago
Watch this section of the video again https://youtu.be/VIwWgV3Lc6s?t=2689 Look at how many requests are needed in the old method vs app router - it's a whole bunch of functions vs just one so you only need to pay the cost of 1 function call
No description
arete
arete9mo ago
so app router definitely will cost us alot cheaper in long term right?
Want results from more Discord servers?
Add your server
More Posts
NextAuth /verify-request double-triggering, invalidating tokenHello, I'm experiencing some issues with the EmailProvider from NextAuth. Unable to find any answersCustom fetch handler, not working with relative pathsso when using fetch you can do this: `fetch("/api/users)` which is great then you don't have to relyhow do developers learn from the docs ?i have been in the web dev field for about 2 + years when i want to learn a technology node js for eAstro Middleware - Matcher for pathsIs there any way to do this next js feature inside AstroJS middleware ? ``` import { NextRequest, Safely screen requests to pages/api for cron jobs with VercelSo I've setup my app using create-t3-app and am trying to using vercel cron jobs to send out emails Best practice for providing current user from db to all react components?So I know that various auth providers have hooks like useUser() or useSession() which you can use toTRCP Cold bootI have a next.js app that uses trcp for all of the routes. I am noticing cold boots are slow. It is Class Sorting with Prettier, Tailwind CSS IntelliSense & clsxHello community, does anyone know a way to use Prettier and Tailwind CSS IntelliSense with clsx? I wUploadthing: Is there way to view all uploaded items?Haven't started using it yet just to be clear but don't see any info about how to view all the uploaHas anybody's CSS looked weird after upgrading Node or Next.js?I have an existing project which I upgraded to Node v18.0.0 from v16 and to the newest version of Ne