Windows 10 apps can be written in javascript, have access to all system APIs and can be rendered in system webview based on chromium, but developers are still too lazy to learn it and use it
They're not too lazy to learn it. They want something that doesn't only work on Windows 10.
Now we just need Linux and Android to do the same, because that's amazing.
Ionic/capacitor/cordova apps are all using the same shared webview instance, electron problem is a sad idiosyncrasie.
In fact Ionic apps are smaller than native/flutter apps.