In general for a great experience on the desktop you want to use the native stack of each platform, so C# / Windows SDK in Windows, GTK in most Linux distros and whatever Mac officially recommends.
You could use electron and build cross platform apps using web technologies, but I'm yet to use an electron based app that doesn't feel like crap.
VS Code is electron and it has been optimized to the hilt. I have used it on Mac, Windows and Linux and the experience is uniformly great. It feels native on every platform (responsiveness is not as snappy as vim but it’s good enough and I’m getting a lot of extra features in return, like remote for instance)
But it didn’t come for free. I can tell a lot of engineering hours were spent fixing little issues like different/conflicting keystroke mappings in all 3 platforms.
You could use electron and build cross platform apps using web technologies, but I'm yet to use an electron based app that doesn't feel like crap.