Hacker News new | ask | show | jobs
by ptx 3206 days ago
How does the "hybrid approach" differ from Electron and why is it so much smaller? Don't they still need to embed a full browser engine if the UI is all JS and HTML?
1 comments

macOS offers WKWebView [1], which essentially uses internal webkit ( safari ) for running the application.

And since all libraries are already on your OS, the build is really small, as well as the memory footprint.

1: https://developer.apple.com/documentation/webkit/wkwebview

Slack used to use WebKit but they migrated to Electron for various reasons explained in their blog post https://slack.engineering/building-hybrid-applications-with-...