Are we really "pissing it away"? For example the fact that VS Code is an Electron app written in HTML, CSS and TypeScript opened the door for many extension developers. I prefer it this way compared to the older native/Java-based IDEs.
Meanwhile, the reverse is true for me. I’m sick and tired of desktop chat clients and other applications being, or turning into, single-purpose Chromium instances.