The (extremely) loud minority

Often on Twitter, we’ll hear stuff like this:

Best practices don’t actually work

Or:

TypeScript has won, and it’s only a matter of time you’re using it whether you like it or not.

These may be true for a tiny minority of cases, such as in a code-factory: full of developers, independently working on small pieces of a very large product, but this doesn’t represent the web industry. In fact, the JS-driven cohort represents a tiny percentage of the web industry as a whole.

How small is that percentage, though? I’m glad you asked. We’re going to be using data from W3Techs, who crawl the top 10 million websites to calculate what market share certain technologies have. For this example, I’ll compare WordPress with React and Vue, because if you didn’t look at the data, you’d think everyone was building with them, right? Absolutely wrong.

WordPress is used by 63.4% of all the websites whose content management system we know. This is 43.1% of all websites.

W3Techs

And to compare:

React is used by 4.0% of all the websites whose JavaScript library we know. This is 3.3% of all websites.

W3Techs

And finally:

Vue.js is used by 0.9% of all the websites whose JavaScript library we know. This is 0.8% of all websites.

W3Techs

Emphasis on both examples, mine and the data is accurate as of February 14th, 2023. Also worth mentioning that this is just one data source. You could merge various sources, but the difference between the majority of the web industry—AKA people slinging websites with WordPress etc—and the loud, but very small web industry is huge.

Even when you consider the reality that these technology paths likely cross and some sites hide the tech they are using, the difference is extreme. Even if you add together React and Vue, it’s still less than 5% of all websites.

It’s also worth caveating (for the sake of my mentions) that React and Vue usage doesn’t mean that we’re only talking about single page apps (SPAs). Those likely account for such a small percentage of the web, it’s barely worth counting. That percentage is likely going to fall now too, because the JavaScript community have seemingly finally woken up to the idea that SPAs are not good actually. Shame about the decade we lost on them

Just for fun, here’s React and Vue’s combined, rounded market share, visually represented by 100 people:

Now, here’s WordPress:

The point I am trying to make

It’s understandable to think that JavaScript frameworks and their communities are eating the web because places like Twitter are awash with very loud voices from said communities.

Always remember that although a subset of the JavaScript community can be very loud, they represent a paltry portion of the web as a whole. This means that when they say something like “Best practices don’t actually work”—what they mean is “Best practices don’t actually work for a small subset of less than 5 percent of the web”.

Now when you look at it like that, it makes you wonder why we give these people such a large stage while the very quiet majority don’t get a voice at all. The very quiet majority are out there building more than 90% of the web, after all.

Even a slight change in that dynamic would likely have a massive positive impact.


Update: I just want to emphasise that W3Tech’s data is for the top 10 million websites. Based on that, React’s < 4% share is probably microscopic on the web as a whole. Even if you discount that: considering React has been around for a decade now, < 4% share of the top 10 million websites is pathetic, considering how much we are made to feel like it is the “biggest framework” (well, at least in bundle size, that’s true).

Another point I want to address is the “well, the web is massive and old, so of course there are loads of WordPress sites”. This is very true, but WordPress keeps growing in popularity*! I’d accept that if its share was depleting. Also, again, all of the above is in reference to the top 10 million websites, which if React is as popular as it’s made out to be, it would feature a lot more prominently…

* based on when I last monitored this report for my talk on CUBE CSS when WordPress’ share was around 36%.

👋 Hello, I’m Andy and I’ll help you build fast & visually stunning websites.

I’m the founder of Set Studio, a creative agency that specialises in building stunning websites that work for everyone. If you’ve got a project in mind, get in touch.


Back to blog