That's not entirely it. VS Code is Electron (not to mention doing a lot more) and somehow its faster than slack and uses about the same memory.
It becomes impossible for you to do any sort of quality - even making the original choice to use it means you care about the perceived "convenience" of using CSS and ECMA over performance.
Suboptimal code might have something to do with it as well, though.