Why is Next.js so slow??
Theo - t3․gg
Channel
Interviewed Person
Theo Browne (t3dotgg)
Description
A lot of server component apps have been rough, but I don't think that's NextJS' fault. There's a lot to talk about with how this new model actually works... Thank you Sevalla for sponsoring! Check them out at: https://soydev.link/sevalla Want to see how fast NextJS can be? Check out: https://soydev.link/chat SOURCES https://github.com/t3dotgg/rscs-suck https://x.com/theo/status/1906133792496226810 https://x.com/thdxr/status/1905114171500273945 https://x.com/mjackson/status/1904977249918705853 Want to sponsor a video? Learn more here: https://soydev.link/sponsor-me Check out my Twitch, Twitter, Discord more at https://t3.gg S/O Ph4se0n3 for the awesome edit 🙏
Tags
Transcript
it's getting to the point where I can just feel that an app is using server components when I use it nearly 1 second page navigations i'm sure it could be improved but I've yet to come across a server component app in the wild that feels good it's about to save Vzero but I just checked and I'm not even sure they're using them anymore as per usual DAX is mostly right slightly inflammatory and not showing the whole picture in this particular instance i think there's a lot to dive into here i agree with him that most of the server component apps I have seen have been really really rough but I don't agree this is the fault of server components i'm going to say something a little
controversial on this one i think the blame for the slow server component sites falls less on the next team on Verscell and certainly less on the React team and the people working on server components directly and more on people like me in order for this to work and work well we need to deeply understand how server components behave and what they mean for us as developers because there is no excuse for any website to be as slow as this one is it almost feels like we've gone back in time to the way
pages worked before i want to break down what makes sites like this so slow how we got here in the first place and most importantly how to use server components correctly so that we can have the fastest possible websites while also matching the great DX that we expect from tools like React and Next.js sadly developer experience doesn't pay the bills i've learned that lesson enough times so we're going to do a quick word from today's sponsor right before we dive in building apps has never been easier thanks to all these AI tools and deploying them has never been easier too at least until you need to add a CDN a
DOS protection layer file storage a database automatic builds during CI and pull requests and all these other things that we expect now as developers in order to keep moving as fast as our editors let us that's why today's sponsor Savala has changed the game for all of you guys that need to host real servers once I saw this dashboard I immediately got it because Savala makes it so easy to deploy an actual server instance and throw the right infra in front of it setting up Cloudflare in order to handle DOS protection CDNs and all of that stuff that you really should
be doing in front of your app is particularly annoying especially if you're using frameworks that are expecting traditional server hosting like you know Elixir Laravel Rails etc this has made my life significantly easier when deploying things that aren't my usual JS stack not that it doesn't work with that stack it actually works really well with all that stuff too where things get way cooler is the pipeline feature where you can set up preview dev and production environments s plural yes so people can file a poll request and automatically spin up a preview app that will sleep after not being used for a while these workflows are obnoxious to set up and we had whole teams at Twitch building all of these
things so that we could have better code review experience all of a sudden it's just a feature built into the platform and as I said before it's not just servers and it's not just the Cloudflare integration it's so many more things like object storage and databases too doesn't matter if you're trying to host a static site an Nex.js app some crazy stuff in Python some weird side project you built in Rails 8 years ago pretty much everything you'd ever want to ship is going to work on Savala and I know that for a fact because this is built by Kinsta the company that made WordPress actually hostable check them out today at/savala and you'll get $50 of free credit applied to your account this
video is inspired by a lot of the push back I'm seeing on server components obviously this and the performance side that's the most important piece but also complaints like Michael Jackson from the Remix team saying that server components are nice in theory but they're not working out evan here saying that server components aren't necessarily a problem they unlock cool patterns but the overhead is the issue here and me responding with probably too many words to Dax's post trying to break down what happened and how we got here i could
just read this to you and believe me part of me was tempted to just read this out considering especially how positive the attention and feedback was to it but I'd rather go in detail on how we got here and why these apps are so slow i'm going to do a real brief history of the web if you want a deeper version of this I have a long video that I think is genuinely super underappreciated all the ways HTML gets to your browser i think this is one of my best videos even if I don't look like that anymore if you want a deep dive on all of this check that
Video Details
- Duration
- 51:31
- Published
- April 6, 2025
- Channel
- Theo - t3․gg
- Language
- ENGLISH
- Views
- 130,018
- Likes
- 3,457
Related Videos

All Things React Native and Navigation with Fernando Rojo
Theo - t3․gg
Interviewed: Fernando Rojo

1.36 - Reviewing Next.js 11 features with Tim Neutkens
CodingCatDev
Interviewed: Tim Neutkens

Tim Neutkens - An introduction to Next.js and what's to come in 2021
JSWORLD Conference
Interviewed: Tim Neutkens

Next for Next.js: See the powerful new features - Tim Neutkens
React Conferences by GitNation
Interviewed: Tim Neutkens