I wonder what the deciding factor is. I used to be part of a Haskell team and it was actually net negative vs. just using something really batteries included.
The technology choices follow on from this. If you have a smart team, then you can pick technologies that solve the problem most efficiently, rather than the lowest common denominator that everyone will be able to use, or what's most fashionable (you see this in every field: the "good" people are often following trends or best practices (and doing it well), but the very best tend to have a much more nuanced judgement. They know about the latest thing, they'll use it sometimes, but they keep their own council, and they're not afraid to go off and do something unorthodox if it makes sense for the situation they're in.
---
Side point: Incidentally, React is actually on my list of go-to productive boring technologies. It's definitely overused (despite building React apps in my day job, my personal website is built with Hugo, and a lot of sites would be better off with server-rendered Django/Rails/Laravel), but where you need that complex client-side interactivity I think it's the generally best tool for the job.
^ This. As the project gets larger you can't find enough "star programmers" in a timely manner and have to fall back to mediocracy. Read "The Mythical Man-Month" and the associated Brooks' Law for context.
Could you elaborate on that? What were problematic?
Now granted that's more than five people, but that was a planet sized service. Say you're a company that's worth 10 million or 50 million with a proportionate amount of complexity, you ought to be able to built that with a team of 10 people if you chose your software stack wisely.
Paul Graham has an older piece about Lisp and beating large companies by having a technological edge. Picking your software and understanding architecture can be very important. I have seen Clojure teams of smart engineers in particular in distributed / concurrent systems (the sort of thing that can produce a lot of value) who do as much work in a team of 5 as a big corporate Java behemoth does with a 100 people.