4 ms·
This is 100% correct, but I just want to add that things like the WebView2 runtime on Windows blurs this line. The browser engine is identical to Edge, but you
by lucasyvas 4y ago
This is 100% correct, but I just want to add that things like the WebView2 runtime on Windows blurs this line. The browser engine is identical to Edge, but you only use the WebView for the UI and the rest is native.
For me, this is the sweet spot for technology. Your frontend can be built once for the browser and "native", and the OS native APIs are all accessible to enhance the experience to a degree PWAs would take an enormous amount of time to catch up to.
Electron is not the ideal solution for this problem in my opinion (having developed an app professionally) - what you want is OS packaged browser runtimes to keep your bundle small and give you the evergreen web feature experience, and full OS API access. It's the best of both worlds.
Something like Flutter would be ideal if you want to avoid the DOM, but it's struggling against the web momentum and still has performance issues.