How I choose a framework
Every few months there is a new answer to "what should I build this in". I have stopped looking for the best framework and started asking four questions.
1. Is it a document or an application?
A marketing site or a blog is mostly content: it wants to be HTML as early as possible, with as little JavaScript as it can get away with. A dashboard or an editor is an application: it lives in the browser and state management matters more than the first paint. Most arguments about frameworks are people answering this question differently.
2. Who maintains it after me?
A client's team that knows React should get React, even if I would enjoy something else more. The cost of a framework is paid over years by whoever keeps it running.
3. Where is the hard part?
On this site the hard part is a 3D room, and almost none of it is the framework's business. I chose Next.js because the easy parts, routing, server data, an admin panel, are solved and boring there, which left my time for the room. Pick the tool that makes the unimportant 80% disappear.
4. How does it fail?
Read the upgrade guides for the last two major versions before committing. A framework that breaks its users every year is a subscription to rewriting.
For mobile
Same questions. React Native when the team is JavaScript and the app is mostly screens and forms, which most are. Native when the hard part is the platform itself: heavy camera work, complex background behaviour, deep system integration.
What I ignore
Benchmarks of rendering ten thousand rows, and anyone's ranking. Neither has ever been the reason a project of mine went well or badly.