The DOM reflow bottlenecks, memory limits, and asynchronous message port overhead that make WebViews struggle with 120Hz gesture tracking.
Using a heavy desktop web browser inside a small mobile screen window to build a sports car dashboard. It works for reading manuals, but when you hit the gas pedal (60Hz touch gesture), the web browser pauses to reflow the layout.
User touches device screen: OS hardware touch digitizer registers coordinate (X, Y)
Native OS dispatches touch event to the embedded platform WebView container
WebView converts native touch into a synthetic DOM TouchEvent and queues it into the web event loop
Web JavaScript runs event handler, mutates CSS/DOM styles
Browser engine performs full DOM style calculation, layout reflow, repaint, and compositing passes
// WebView Touch Latency vs Native Touch Direct Traversal
// Native / JSI / Flutter:
// [Hardware Touch] -> [Main Thread] -> [Direct 60Hz Animation] (0-2ms latency)
//
// WebView:
// [Hardware Touch] -> [OS Event] -> [IPC to WebKit Process]
// -> [DOM Synthetic Event] -> [JS Event Loop]
// -> [DOM Reflow] -> [Compositor Thread] (15-40ms latency)Restricting WebViews to static content, terms-of-service documents, and checkout flows while using native runtimes for core app navigation.