I copiously hate Electron. There's a reason.
File Size
With Electron, you start with an 87 megabyte executable. At the same time, it's a glorified browser, adding your useless frameworks (React, Vite, NextJS) will only make it bigger, up to 300 megabytes (I'm talking to you. Discord)
Performance
The performance is abyssmal, first of all, if you use React, it is going to redraw every single time. EVERY SINGLE TIME. NO ONE CARES ABOUT YOUR CROSS-PLATFORM BULLSHIT DISCORD. And it is Chrome, it will eat your memory, like a Feastables bar.
That's why I hate Electron, thank you for reading my rant.