Perhaps Electron is popular, because the Web has won as the preferred UI toolkit?
Using OS-native widgets doesn't seem to be that valuable any more. Windows itself has 11 incoherent styles. Cocoa is now just `* { box-radius: 20px; box-shadow: 20px; opacity: 0.5 }, so why even bother?