"WebView" in software should be preferred over electron, but why it's not the case today?
Because it is bloated, more complicated, and require an insane amount of preparation to get started in a cross-platform fashion, specially for windows: https://docs.microsoft.com/en-us/microsoft-edge/webview2/get...
Then you understand why nobody wants to deal with that stuff and choose lowest common denominator (electron)
Just look at what you have to do to get started with WebView2 on windows
Hopefully this community group will lead to a better story for webviews in desktop software