In very recent memory, apps in general being cross-platform was "rarely done". The alternative world without something like Electron is not perfect native applications on every platform, it's choosing to support one or both of the major operating systems that people actually use.
If you've never had a native app skip or a key or lag because you typed too fast, I don't know what to tell you. I've used some real garbage production software written entirely in God's own C that had those problems. I have twelve instances of VSCode open right now, some with huge projects, and cumulatively they're taking up less than 2GB of memory. It's just throwing stones in the wrong direction to put this blame on Electron at this point.