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
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...
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
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
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
so app router definitely will cost us alot cheaper in long term right?