An unofficial, read-only Hacker News reader.

Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native (opens external site)

467 points by vinhnx 3 days ago | rida.dev | 149 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. Web browsers composite layers just like CoreAnimation, and the browser ostensibly knows how big each element is. Seems like they could invent some kind of heuristic for the web just like they ostensibly already have for UIKit.
    Replies (3)
    1. That will only happen if governments enforce anti trust to include web as a type of third-party app store.
    2. I don't think the UIKit heuristic is that intelligent, it's simply "is this a transition between two view controllers". Again, the lack of any formalised notion of "root views" or whatever on the web would be a blocker here I think. That said I'd be curious what happens with the View Transitions API, since it's about as close as you'll get to that.
    3. Safari actually does literally use CoreAnimation to composite web pages.