Skip to main content

ยท Web Development

React.js vs. Vue.js: Selecting the Right Framework for Scale

Internal benchmarks and selection criteria for frontend engineering at VDPL.

React and Vue will both build your application well. Teams asking which to choose are usually asking a question the frameworks cannot answer, because the deciding factors are not technical.

The differences that are real

Vue’s single file components put template, logic and styles together, and the reactivity system tracks dependencies for you. Less code, and a shallower start for a developer new to the framework.

React is a smaller idea with a larger ecosystem around it. Rendering is explicit, which means more ceremony and fewer surprises about when something re-runs. Almost any problem you meet has been solved publicly by someone else.

Neither of those decides a project on its own.

What should decide it

  • Hiring. In most markets, including India, there are considerably more React developers available. If this application will outlive the team that starts it, that is the strongest single argument.
  • What your team already knows. A team fluent in one and asked to use the other loses months, and the code they write in the first six of those is not the code you want.
  • What already exists. If half your systems are in one framework, a second one means two build pipelines, two component libraries and two sets of conventions to keep in step.
  • Third-party components. If the project depends on a specific charting, mapping or editor library, check its support in both before deciding.

What should not decide it

Benchmark differences. Both are fast enough that the framework will not be your performance problem. Your performance problem will be payload size, images, and how much data the page fetches.

Github stars, satisfaction surveys, and which one a conference talk preferred last year. None of these will be relevant to your team in year three.

The honest default

For a new project in India, with hiring as a real constraint and no existing investment either way, React is the safer default. For a smaller team with a strong Vue background, Vue is obviously right and switching would be an unforced error.

The version of this decision that goes wrong is the one made on preference and defended afterwards. Write down which of the factors above applies to you, and the answer usually stops being close.

If you would rather have the discussion with engineers who will not be paid more for either answer, that is what our web application work starts with.

More reading

Tell us what you are building.

No sales sequence. One person reads this and replies. Rather give more detail?