mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 07:40:59 +00:00
654900bc50
The transition waited for the new page to replace its route fallback and polled for that with requestAnimationFrame. While a view transition waits for its update the browser renders no frames, so the callback never fired and every navigation to a page whose chunk was still loading sat frozen until the browser gave up after four seconds. The wait now polls with a timer: from Vacay to the journal takes 0.45 s instead of 4.1 s with an empty cache.