Next.js and Vercel: buy into both, or pick another framework
- · 4 min read
- Engineering
- Product
In his conversation with Silver.dev founder Gabriel Benmergui, Dax Raad talks about what happens when a team adopts Next.js without Vercel. Dax is the creator of OpenCode at Anomaly, the team behind SST and terminal.shop.
Gabriel opens the clip with the sharper version of the argument. Vercel, he says, makes its money on the infrastructure, so "they don't have any incentive to prioritize like Next.js being an independent product." He adds that many people he talks to in the open source community started feeling that way in 2021 and 2022.
Dax answers with a practical conclusion.
Buy into both halves, or neither
His first point is about how teams adopt the framework:
"Like if you are buying into Next.js, you should be buying into Vercel, 'cause that's when you're gonna get the full capabilities of it."
The trouble, in his view, starts when a team takes the framework and runs it somewhere else:
"I think people run into trouble when they like try to buy into one half and not the other half."
If a team knows it wants to host somewhere else, his advice is to pick a framework built for that from the start, one "that is oriented around dev- deploying everywhere," because its maintainers are "gonna like care about your use case a little bit more."
The default nobody chose
Dax calls this the gray area. Next.js is the default for a lot of React work, and defaults don't get much scrutiny:
"So when people are choosing it, they're not like consciously thinking about it in this way."
He thinks people understand it better now, since the tradeoff gets talked about more. Still, a team can pick Next.js on day one because everyone does, without deciding anything about where it will run.
"Are you sure?"
People assume Dax spends his time talking teams off Vercel, he says. His actual answer when someone tells him they're thinking of moving off of Vercel is a question:
Like, "If it's working, just pay the price, 'cause like it's not gonna work as well outside of it. And like you should have a really, really, really good reason."
He gives the same advice at the start of a project. When someone comes to him with Next.js, he tells them, "Just go use Vercel, like that's where it's gonna make the most sense." The cost question can wait:
"Um, deal with it when it's a problem later, not ahead of time."
For an early startup, that order makes sense. Shipping the product matters more than optimizing a hosting bill you don't have yet, and a migration planned before there's any traffic solves a problem the company may never have.
The Apple comparison
Dax sees the same tradeoff in hardware:
"Like, uh, like Apple is crazy vertically integrated."
That integration is "why their products can be so great at times," because every part of the stack works together, down to the CPU. The flip side shows up when your needs fall outside what the stack was built for:
"But in other times you need flexibility or you don't fit perfectly into their bubble, it's like a nightmare."
He closes on the choice itself. Most industries, he says, fall into these two versions of product, an integrated one and a flexible one:
"Um, and you have to make sure you're consciously choosing one or the other."
What this means for your stack
For disclosure: this site runs on Next.js and is deployed on Vercel, the integrated path Dax describes.
For a founder, the decision matters more than the vendor. Next.js on Vercel is a reasonable default for a small team that wants to ship. A framework built to deploy anywhere is a reasonable choice for a team with a known reason to self-host or stay portable. Problems come from choosing the first and then expecting it to behave like the second.
That's also a good question to ask senior engineers you're hiring. An engineer who can explain why the team chose its framework and hosting, and what it would cost to change course, is thinking about the business. If you're hiring engineers in Latin America, Silver.dev can help you find people who reason about tradeoffs like these.
For more from the same conversation, read Dax on sync engines and React development.
Watch the clip on this page, or watch Dax Raad's full conversation with Gabriel Benmergui.