Every cross-border product team eventually has the same meeting: someone wants to ship
H5 inside an app shell to save two months, someone else says "users will notice". Both
are sometimes right. The argument only becomes decidable when you stop comparing
frameworks and start comparing four concrete capabilities.

Test 1: does anything need to run when the screen is off?

Background work is the hard boundary. If the product needs to keep a socket alive,
deliver a push notification reliably, sync location while the app is backgrounded, or
talk to a Bluetooth peripheral, a WebView is the wrong container and no amount of
bridge plugins makes it the right one.

Everything else — lists, forms, chat, checkout, dashboards — is fine in H5. The mistake
is treating "app" as one requirement instead of a list of capabilities, some of which
are native-only.

A quick way to settle it: write down the three flows that matter most, and mark each
one that requires a native API. If the answer is zero, H5 wins on cost and iteration
speed by a wide margin.

Test 2: what is your cold start budget on a mid-range Android?

This is where H5 loses quietly. A WebView cold start on a three-year-old Android device
is 1.2–2.5 seconds before your first paint, on top of network. If the first screen is a
product listing that the user opens eight times a day, that is a real cost.

Measure it, do not guess. The numbers that matter:

// run on the actual target device, not a desktop emulation const t0 = performance.now(); // ...navigate to the first interactive screen... const t1 = performance.now(); console.log("time to interactive (ms):", Math.round(t1 - t0)); 

Budget guide that has held up across projects I have shipped:

  • under 1.5 s TTI on a mid-range Android: H5 is invisible to users;
  • 1.5–3 s: H5 works if the first screen is cached and rendered from local storage;
  • over 3 s on the primary flow: go native for that flow.

Note the third option. You do not have to choose one container for the whole product.
A native shell with an H5 core, where two or three screens are native, is usually
cheaper than a full native rewrite and far better than pretending the WebView is fine.

Test 3: who maintains it after launch?

A single H5 codebase that also builds to iOS and Android through a wrapper is genuinely
one team's worth of work. A native app is two codebases, two release cycles, two review
processes, and two sets of device bugs — permanently.

If the client has one engineer and no mobile specialist, native is not a technical
choice, it is a staffing decision that will be paid for every month after launch. This
is the argument that decides most projects, and it has nothing to do with performance.

Test 4: app store presence — needed, or assumed?

If distribution genuinely requires the store (payments, trust, discovery in a market
where users only install from the store), then you need a native container at minimum,
and you need to budget for review delays in every release.

If the product is B2B, or the users arrive from a link in a chat app, a mobile web app
plus a PWA install prompt often gets 90% of the value with none of the review queue.
For Telegram-based products the calculus is even simpler: a Mini App is the distribution
channel, and it is a web app by definition.

What I actually recommend

  1. Write the three primary flows and their native-API needs.
  2. Measure TTI on the cheapest device the target market actually uses.
  3. Count the engineers who will own it after launch.
  4. Decide per flow, not per product.

That produces a decision that survives contact with the store review, the marketing
launch, and the second year of maintenance.

The longer write-up, with the measurement harness and the per-flow decision table I use
on client projects, is at
keston.dev.