The problem isn’t web tech, but rather software (of
any kind) that is designed without performance in mind from the start, and by large teams. Something functionally-similar, still using web tech, but produced by one or two developers who care about performance (and yes, I seriously suggest this would be feasible) and are given free rein to do so
would be better, lighter and faster than something “native” produced by a similar team to that which has made their existing apps.
Web tech is easy. This incidentally makes stuff built with it likely to be slower. Especially when you have a whole bunch of developers working on a thing. I have come to the conclusion that large teams more or less cannot produce good results by these sorts of measures.
I suspect also (without ever having used it) that a good chunk of Teams’ slowness will be in communications pieces that are nothing to do with web tech.