Improving speed is now overengineering apparently, but the same people would complain about how horrible web dev is if it weren't improved. Damned if you do, damned if you don't.
It's layers upon layers of indirection and then massive layers of optimization on top of it.
What should happen is that we take the lessons that we learned from this current iteration of the web and desktop and turn it into a new generation while cutting out the crap we don't need.
But bad performances stems from non compiler optimized React to begin with, its execution model when handwritten. Other frameworks don't necessarily take more effort to use and have better performances from the get go.
A lot of them do have compilers too, like a couple of the most commonly cited React alternatives, Svelte and Solid, so I'm not sure why React specifically is singled out.