Choosing a tech stack means deciding which building blocks your website or product will be made of: the framework, the place where content lives, the hosting. The choice is usually framed as a developer matter, with performance comparisons. I think it is first and foremost a project management decision, because it commits you on who can maintain the product, what updates will cost and how easily you can change your mind.
I chose, and still maintain myself, the stack behind this site and behind the marketing site of Moonworkers, my company. Here are the questions I ask myself before deciding, what my own choice gave me and what it costs me, and the cases where I would not make it again. You will leave with a one-page decision note to fill in before the first line of code.
01What a tech stack is, and what really matters in it
A tech stack covers everything that runs an application: a language and a framework to build the pages, a database or a CMS for the content, a hosting provider, and the services around them, such as payments, email or analytics.
Online comparisons rank these blocks by speed or popularity. That is not wrong, but for most of the projects I see, the raw speed of a framework is not what decides success. What decides it is whether the product can evolve without breaking, and whether you can find someone to do that work.
The UK government's Service Manual puts it simply: the most important thing is to make choices that let you change your mind at a later stage, adapt your technology as your understanding of users grows, keep the total cost of ownership down and keep control of your data. I have not found a better summary.
02The questions I ask before choosing a stack
These questions do not produce an automatic answer. They mostly bring out what nobody said during the meeting.
Who will take over the code in two years?
This is the first question I ask. A rare technology can be excellent, but if only one person knows how to use it, your product depends on that person. I prefer a widely used technology that other developers can take over, and handover documentation written as the project goes rather than at the end.
Can you replace one block without rewriting everything?
France Num, the French government's programme for small businesses, advises them to prefer a standard tool over custom code, so they stay independent and can change supplier at lower cost. I extend that to the whole stack: if the content, the site and the hosting talk to each other through standard formats and APIs, you can replace one without touching the others.
Who owns the data and the accounts?
The same France Num page reminds readers that the domain name must be registered in the company's name, never in the supplier's. I ask the same question about hosting, the CMS, the code repository and the analytics tools. An account opened in a supplier's name turns into a problem the day you want to leave.
What will updates cost?
People budget for the build and rarely for the upkeep. Yet a living framework changes. The official guide to upgrading to Next.js 16 lists changes that break existing code: some functions must now be called asynchronously, "middleware" is renamed, a linting command disappears. Nothing dramatic, but it is time to plan for, every year.
Where is the real risk in your project?
If your product is a marketing site, the risk is rarely technical. If it is a calculation engine, a matching tool or an integration between two pieces of software, that is where the hard part lies, and that is where you will need all your attention. Which brings me to the idea that helps me most when deciding.
03Spending your innovation tokens in the right place
The engineer Dan McKinley popularised an idea I find very useful: every company only has a few "innovation tokens". Each new technology uses one up, because nobody knows yet how it fails. A proven technology, whose flaws are documented and known, cuts down the nasty surprises.
I listened to the Book Overflow podcast episode on his essay, and two points stayed with me. The first is a question to ask before adopting a new tool: is the team ready to own it for the next ten years if it cannot get off it? The second: bringing a language model into your product uses up a token too.
In practice, I write a short list. On one side, what makes your product different and deserves a risk. On the other, everything else: authentication, hosting, sending email, the CMS. For everything else, I take the most ordinary and best documented option. It is less exciting in a meeting, but it leaves energy for the part that matters.
04What I chose for this site and for Moonworkers
This site runs on Next.js for the pages, Sanity for the content and Vercel for hosting. In May 2026, I rebuilt the Moonworkers marketing site on the same base, Next.js and Sanity. I describe the switchover itself in the article on migrating to Next.js and Sanity; here I stick to the choice.
What this choice gave me
The main reason is the content. Sanity stores each article as structured data that can be queried and changed by code. That is what lets my content machine publish directly, with a "to review" status, instead of going through a form. I learned on a project that the bottleneck in content production is often getting things online, not the writing: I cover that in the article on automating publishing before producing more. The stack was chosen for that. The detail of the content model is in the article on Sanity and headless.
What it costs me
The trade-off is updates. Next.js changes its conventions from one major version to the next, and I have to keep up. The version 16 guide even recommends a file for coding agents that points them to the documentation for the installed version. This site's repository has one, which warns, in essence, "this is not the Next.js you know". I work with Claude, and without that reminder an assistant is likely to write code meant for an older version.
What it does not solve
The free calculators on the Moonworkers site are right because I checked them one by one against the official tools, and because an oracle written from the HMRC texts replayed them. It found one-penny errors caused by a rounding rule, which I describe in the article on testing a calculation with an oracle. No framework would have spared me those errors. The quality comes from the checks, not from the stack.
05When I would not choose this stack
I do not recommend it to everyone, and I would rather say so plainly.
If your marketing team edits its own pages every week, moves sections around and tests variants without a developer, a visual tool will do the job better. I compare the two approaches in WordPress vs Webflow. Next.js and Sanity separate content from layout: a strength for a content machine, a constraint for a team that wants to change everything on its own.
If nobody around you knows how to maintain a Next.js project, take that signal seriously. The UK Service Manual recommends understanding the context before choosing, including the reasons behind past technical decisions and the team's skills. A stack your organisation already knows is often worth more than a better one it is just discovering.
And there are areas where I am not the right person: native mobile apps, ERP rebuilds, managed IT services. For those, a specialist team will advise you better than I can.
06Where to start on Monday
Before you sign off a stack, I suggest writing a one-page decision note. It fits in six lines:
- The need, in one sentence, with no technology names.
- The two or three serious options, and why they are on the table.
- The option chosen, and the part of the project that justifies a risk.
- Who maintains each block, and in whose name the accounts are opened.
- The expected cost of updates over a year.
- What would make you change your mind.
Then test the risky part before anything else, with a small prototype. The UK Service Manual advises you to start with prototypes to check your assumptions about a technology before committing. A day of prototyping costs less than a rewrite.
If you would like an outside view on that note, or help framing the choice, the services page explains how I work, and the portfolio shows what I have built. Happy to talk it through.
