Hacker News new | ask | show | jobs
by afavour 279 days ago
Correction: badly implemented web view vs Flutter
1 comments

This is going to be a hot take, but I believe all web views are bad implementations for mobile apps. Primarily because a native app has all the styling, fonts, and client-side logic bundled with the app when it's installed.

A WebView loads those at runtime. So if you were intercept and track all the requests made by a WebView app, you'd see potentially hundreds of assets loading when you make a search query.

A native app doesn't need all those assets, it can make a simple API request to resolve this.

I can imagine a WebView could be bundled with the assets it needs, tho I doubt most people do this.

> a WebView could be bundled with the assets it needs

Yeah this is it. A well integrated web view works very seamlessly. You only notice the ones done badly.

That's fair, tho tbh I don't know of a single WebView app that does this.

P.S: ok I guess it's because I don't notice them, lol